Need help on flow designer while using for each item

JPSS
Tera Contributor

My requirement is

 

In the catalog form I am having a multirow variable set. For each item in the multirow variable set separate task needs to be created to l1 team.

 

If the task state changes to closed incomplete it should create the next ticket which should be routed to l2 team

 

 

Development : Assigning the ticket to L1 team is working as expected.

 

After that I have looked up catalog tasks corresponding to that ritm .

After that I have used for ‘each item in multirow variable set’  

 

The issue is that even though the second task state changes to closed incomplete its not creating the task to l2 team. Only if the first one changes to closed incomplete its looking the second record.

 

JPSS_0-1695495369917.png

 

JPSS_1-1695495369927.png

 

 

 

I want for each should run in parallel for all rows

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi @JPSS 

the way you want to model the Flow is not the way how Flows are working internally.

Instead keep separated task creation and waiting for closing of one catalog task in individual flows.

Maik

Since its a Multirow variable set how can we define the number of tasks that needs to created other than using For each

Jon23
Mega Sage

Hi @JPSS ,

 

Try using a sublfow on the forEach.  For Example:

Main Flow:

Jon23_1-1695769658058.png

 

Subflow:

Jon23_2-1695769787739.png