Flow designer Do the Following in Parallel not running in parallel

gjz
Mega Sage

If an incident is created that is a security issue we have a requirement to create three tasks to run in parallel to address the security incident. Once the three incident tasks are complete the incident needs to be automatically closed.  I've chosen to use Flow Designer but I have found I can't get the three tasks to open at the same time.

My flow looks like this:

find_real_file.png

 

 

Here are the details of one of the tasks - the other parallel tasks are the same except for the assignment group.

find_real_file.png

If I check the "Wait" field, only the first task opens and the others will not until the 1st is closed.

If I leave it unchecked, the last task completes before the three tasks are complete - which is not the desired behavior, I need the last task to wait until all three tasks are complete.

Can anyone spot why this doesn't work?

1 ACCEPTED SOLUTION

ok.

Make wait checkbox unchecked so that all tasks will execute parallely.

Add If clause and check state for all tasks 

if the state of all tasks closed complete then it will jump to that next step.

find_real_file.png

PPlease let me know if it helped you

View solution in original post

15 REPLIES 15

I know this is an old post, but it popped up when I posted question about replicating Branch/Join from Workflow into Flow Design

 

I followed your steps and while the tasks are waiting to be created after initial required task is closed complete and then they all create as they should, (used the Parallel for that action), once all the tasks are closed, the Request/RITM not changing to Closed Complete.

 

I added in the IF action and created 3 conditions for the 3 total tasks, but am I missing a step or doing something wrong in this Flow Design?

 

terrieb_0-1694022285006.png

Thanks

 

Tokyo Release

Hi Terrie,

I added "Wait for Condition" actions after "Do in Parallel" to verify all tasks were closed, then did an IF to update the INC record.

 

gjz_1-1694023357622.png

 

I'm on Utah, but it shouldn't matter if you are on Tokyo since I created it in San Diego.

This may work for Incidents, but I am trying this for a Request/RITM.  I will have about 10 tasks, and Wait for Conditions only let you do one task as a time - there has to be a better option that creating 10 Wait for Condition actions - yes?

 

 

I bet you can do it with one Wait for Condition - with the filter you should be able to wait until all tasks for the RITM are complete.

I just noticed yours is for REQ/RITM, not INC.  I do have one flow for REQ/RITM without a parallel flow that is working.  I made sure the catalog tasks had the "Wait" box checked, then updated Requested Item to closed - no if statement needed.  It seems you've already done that, but for what it's worth, here is mine...

gjz_2-1694023864669.png