How to fetch data from datagrid 2 and how to save datagrid 2 data in different domain model

I am trying to fetch data from Load Detail and representing data in datagrid 2, after that I given edit functionality for each row, then I am trying to save data in revision detail entity. Can you please describe how to save data in different entity ?
1 answers

Trigger a microflow with these two activities:

create Object: RevisionDetail

Java action: CommunityCommons.copyAttributes; from LoadDetail; to RevisionDetail

And you're all set.