Non persistable entity as datagrid parameters

0
Hi, I have a datagrid which has a nanoflow as a datasource. The nanoflow opens a pop-up with a non persistable entity as a parameter. The non persistent entity serves as collecting the parameters values for the datagrid. So when the user close the pop-pup, the nanaflow retrieves a list of datagrid object based on the values of the different attributes of the non-persistent object. The problem is that the nanowflow doesn't stop executing when opening the pop-up to collect the parameters and continue executing before getting the parameters values. Any idea ? Thanks
asked
1 answers
2

You should separate the user input from the datasource nanoflow.

 

First, my assumption is that the nanoflow executes a database retrieve. In that case use a microflow.

 

Next to that; you should create something like this

  1. Show a page/popup where user can enter the parameter values
  2. Create a page which contains a dataview with datasource context/entity where you collect the parameter
  3. Add a nested datagrid with a datasource microflow. This microflow starts with a input parameter of the object to get the user input.
  4. Add a retrieve as you have in your nanoflow and return the list.
answered