Flow Designer - Wait for all task to complete

Dazler
Mega Sage

Hi,

I am working in Flow Designer and I need to create a wait condition for all catalog task to be completed before closing the workflow.  I know that we cannot use script in the wait for condition in Flow Designer.  For all the catalog task that are created through Flow, I have selected the wait option, but I am more concerned about the catalog task that are created manually.

Is there a way to build something in Flow for wait for all task to complete?  I thought of using workflow and then calling it in Flow, but I am not able to pull a workflow using Requested Item.  I still think that may be the best approach or possibly creating a business rule.

Does anyone have any ideas or suggestions on how to approach this?

Any help would be appreciated.

7 REPLIES 7

spike
Mega Sage

Hope it's not too late. I was looking to do the same thing and thought of this:

 

1. Get all tasks that are on the Request.

2. Wait until each one is Active = False.

 

Then you know the are all complete. For example:

 

spike_0-1692196179973.png

 

Wildbeach
Tera Contributor

So simple solution! Worked perfectly for me. Thanks!

spike
Mega Sage

I've actually refactored this out into a subflow that I can call with just the RITM object. Takes a few steps out of the main flow and makes things look a little neater!