flow designer close RITM when all tasks are closed

Community Alums
Not applicable

Here are 4 checkbox variables on the catalog form: 

find_real_file.png

Here is the flow that makes one task per checkbox. I have a 'wait' condition checked for each task, but not because they need to happen in order (they shouldn't; I want them to all be created at once if the user clicks more than one above), but because if I don't have a wait condition, then the flow goes straight to step 15 and closes the request record. How do I get the tasks to all open at once, but keep the RITM open until all tasks get closed? find_real_file.png

1 ACCEPTED SOLUTION

Geoff_T
Mega Sage

Hey,

Have you tried nesting these if statements/tasks inside a 'Do the following in parallel' flow logic?

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/concept/flow-logic-do-following-in-parallel.html

Keep the 'wait' condition checked. Then all tasks must complete before moving on.

I've used this successfully for a process like you mention.

Geoff

View solution in original post

4 REPLIES 4

Geoff_T
Mega Sage

Hey,

Have you tried nesting these if statements/tasks inside a 'Do the following in parallel' flow logic?

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/concept/flow-logic-do-following-in-parallel.html

Keep the 'wait' condition checked. Then all tasks must complete before moving on.

I've used this successfully for a process like you mention.

Geoff

Community Alums
Not applicable

that feature is new to me, thank you! works great now

Community Alums
Not applicable

I now have a problem where all the tasks are waiting even though I closed them out

find_real_file.png

and I need the steps 20/21 to run (which closes out the RITM/REQ). How do I stop the waiting so that closing all four tasks will close out the RITM and REQ? 

Community Alums
Not applicable

nevermind they finally worked but like five minutes later!! 😞