What condition to be used in Flow for multiple child task closure

Naushad1
Tera Contributor

Hi All,

 

I have a situation where I want to create couple of catalog tasks under RITM once initial 8 catalog tasks are completed through Flow.

I am not sure what condition to apply to be able to check if all tasks are closed to be able to create new tasks.

Order 1 : Create 8 tasks.

Order 2 : Create 2 tasks.(Upon closure of above 8 tasks)

Update RITM once all tasks are closed.

 

Has anyone been in this situation? Any suggestions?

Thank you so much for your help in advance.

1 ACCEPTED SOLUTION

Bernd Hoffmeier
Kilo Sage

You can do this with Flow Designer and a "Do the following in Parallel" Flow Logic. So you create the first 8 tasks in parallel and have all set to "Wait". The flow will wait until all of them are closed, then you can create your next tasks.

Bernd7_0-1707393482478.png

 

View solution in original post

6 REPLIES 6

_Gaurav
Kilo Sage

Hi @Naushad1 
You can use the lookup action to check the state of all the tasks used for each action. If all the completed you can create 2 new tasks and update the the RITM

Naushad1
Tera Contributor

@_Gaurav Thanks for the response, since these tasks are being closed in different time, what would be the trigger? There's wait option but it suits when you have single task.

Bernd Hoffmeier
Kilo Sage

You can do this with Flow Designer and a "Do the following in Parallel" Flow Logic. So you create the first 8 tasks in parallel and have all set to "Wait". The flow will wait until all of them are closed, then you can create your next tasks.

Bernd7_0-1707393482478.png

 

@Bernd Hoffmeier It worked !!