List iteration in BPM

Hi all,

I have one requirement in development.

i am going to select the multiple records from table view and storing the values in list object.

the list object contains the first column value(we can take it as id).

i want to iterate the list values in the select query in service step.

For Ex:

  • The step 1 contains the list of values like [3,4,5] now here the list size is 3.

  • user submit step 1 then the next i have a service step which contains a database connector to execute select query.

  • Now we want to iterate the list object in this service step and should all list values result and we need to display another human step.

  • we should assign each iteration result as a new task in next human step…

1 Like

This is perfectly possible using the Multi-Instantiation aspects of calling a sub-routine. You need to redesign your process slightly.

See here

However your step sequence isn’t that clear so I can’t make a call on how/what you want. It is however possible.

We do this a lot in our business, and no, I’m not giving the code out…

regards