I want to download all records of the grid. I have implemented a microflow for download this requirement but it is working for only selected record. when i use multiselection in grid view then it is showing me an error of “ No argument
When you change the selection mode to multi selection, then it will return List of that entity being selected.
In your case, it will return List of Features.
Your microflow should accept a List of Features as Parameter, then you can iterate over each Feature, do your processing and then prepare the report.
When looking at your microflow image, I dont see any parameter. But you have create activity that creates features.
How are you creating Feature, without the selected one and why do you want to create even? Are you using non-persistable entity?
I am not sure what you are trying to do:
If you want to create individual report of items that is selected
Then you can select the list of records, pass it on to microflow
Then iterate over each record, create the report, which can be downloaded later
If you want to create one report of all items that is selected
Then you must create a NPE
Link all the selected item to that NPE
Pass that NPE to the document template
Within the template, have a grid to show the items linked with NPE