Display a microflow returned list in a Datagrid

0
This question was asked some time ago, but the answer back then was a link to another question that cannot be retrieved anymore. How can I show a list of objects returned by a microflow inside a datagrid?   Perhaps there is a specific complication in my case. I am triggering this microflow from an on click microflow in an anychart. Hence, it seems that this microflow can only take 1 parameter, being the attribute of an object that is created at runtime (I think!!)     So I am not even sure if I could use a helper entity that holds the list via association...
asked
2 answers
1

Diego,

Here is one way to do this:

First, suppose your domain model looks like this:

image.png

 

In a microflow, you could retrieve all OrderItems and create a WrapperEntity object like this

image.png

 

Then you could create a page like this:

image.png

 

And the last step in your microflow could be to open this page

 

image.png

 

Hope that helps you get started,

Mike

answered
0

Hi Diego Davila,

 

I tried with the forum question you have attached here, I found out that it can be done.

 

There should be two microflows. First one with only Show Page Activity and with passing that object.

 

Then Second is with Parameter of that object and the logic with returning list of objects.

And the Datagrid Datasource should be second microflow.

 

I think this can be done like this.

 

I didn't understood your scenario to describe.

answered