"Wait for Child Tasks to Close" Activity in Flow Designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 08:09 AM
Has anyone developed a Flow Designer activity for the Service Catalog that mirrors the old "Wait for Child Tasks to close" Workflow activity? I use this in a lot of my catalog item workflows to be sure to allow any manually created catalog tasks are closed before ending the workflow.
This does not appear to be an out of box activity for flow designer.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 02:44 PM
Thanks Dave L. Thats my next step to do as you suggested.Although the 'Lookup records' method is working now. Does have limitations though, so you script should 'cover all bases'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2020 06:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2020 10:27 AM
Hello Fernando.
For this, I created a reusable sub-flow. I have attached a few screenshots to show how I did it. In the subflow, I run it twice, to check if a task has been added, while the additional task is open. Overkill I know, but just to be sure. The screenshot only show the first pass, but it works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2021 12:22 PM
Thank you! appreciate your help. This works for me.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 05:52 AM
Hi Vikas,
I know this is several years old and I'm trying the same thing in Tokyo but the For Each... Wait for Condition is evaluating for the 1st task that I created; not for all of them.
Any thoughts on why? The Look Up Catalog Task Record is returning all of the expected catalog tasks. I'm dynamically creating the catalog tasks within the same flow.