Passing objects or variables between pages

I have two seperate pages with datagrids filled with seperate entities. I also have a detail page to add some new entity for each page. What i want is simply passing an object or a variable from first page to another which is same for each entity and these entities have 1 to 1 association. I couldnt find a proper way for passing data between pages whether it has a datagrid or a dataview. Any example or a usefull link will be appreciated
1 answers

There are several ways to achieve this. You can create a microflow first that creates entity one and entity two. After this associate the entities to each other and show the page that contains entity one. This page has a link to a microflow. The microflow has as input parameter entity one. Now, retrieve entity two by association and show the page that containts entity two.