Duplicate and edit datagrid row with microflow

I am trying to duplicdatagrid.ate a datagrid row, my logic is create object from current datagrid--> Change obeject-->Show New Edit page of Dat grid. I have added an action button on datagrid control bar as name Duplicate. Now when I click on Duplicate button i get a new row but the data of selected row is not appearing on show new edit page...How I can pass the selected row data to show new edit page..I just want to duplicate row and after changing required data save as new row.   
1 answers

You need to create a custom microflow that does the following:

1. Pass the object you want to duplicate as a parameter

2. Create an new object and set all the members with the value of the parameter entity

3. Pass the new object to the new edit page.