How to pass List of objects to nanoflow

Hello, I have datagrid1 with ‘Select All’ button. I have dataview above datagrid1 and its datasource as ‘Listen to widget datagrid1’. I have added button inside dataview which calls the nanoflow. Now I want to pass list of objects which are selected using ‘SelectAll’ button in datagrid1 to nanoflow. Currently I can pass only one object. How can I achieve this?
1 answers

The dataview only accepts one object at a time, so you need a different approach. You might try to define a memory-only entity in the domain model, temporarily store the selected objects there and then retrieve the stored objects from a microflow behind the button named “Button”. Or, you might move the button named “Button” inside the datalist, alongside the “Select All” button.