Flow Designer : Creation of task when two sub-task are closed.

pramod pandey1
Tera Contributor

Hi Team,

 

Need support on how to implement below scenario in flow designer:

 

Want to create a catalog task in sub flow when two parallel task which are present in main flow are closed completed.

So basically when task 1 is closed completed in main flow before creating new task 3 in subflow need to check Task 2 is closed complete or not. If it is closed then new task should be created otherwise need to wait till is is closed.

 

Or Visa versa 

when task 2  is closed completed in main flow before creating new task 3 in subflow need to check Task 1 is closed complete or not. If it is closed then new task should be created otherwise need to wait till is is closed.

 

See below image for reference

pramodpandey1_0-1708670867430.png

 

 

Thanks

Pramod Pandey

 

2 REPLIES 2

pramod pandey1
Tera Contributor

@SunilKumar_P  Can you guide me on this case.

SunilKumar_P
Giga Sage

Hi @pramod pandey1, You can try the below steps.

 

1. Create a subflow input of type Reference to Requested Item table.

SunilKumar_P_0-1708694239137.png

 

2. Use Look up Records action on Catalog Task table with condition as Request Item is Inputs>Requetsed Item

SunilKumar_P_1-1708694320206.png

 

3. Use For Each flow logic and inside for each wait for condition as shown below.

SunilKumar_P_2-1708694389037.png

 

It looks like working for me.

SunilKumar_P_3-1708694449906.png

 

 

Regards,

Sunil