Flow Designer - Wait for all task to complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2021 09:24 AM
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.
- Labels:
-
Script Debugger
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 07:30 AM
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 12:50 AM
So simple solution! Worked perfectly for me. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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!