Flow Designer: Wait for at least one catalog task to close
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 01:24 PM
Within Flow Designer, I am creating dynamic catalog tasks using the Do in Parallel..For EAch structure which is working great.
Now, I need to wait until 1 of the tasks is set to Closed. How can I do this?
I thought I could do the following but it isn't working;
1) Look up catalog task records where Request Item = <RITM of trigger> AND Active = True
2) Do the following in parallel
3) For each record in step 1
3a) Wait for condition State = Closed Complete or Closed Skipped
3b) If State = Closed Complete
3b1) Update the State to Closed Skipped for all active catalog tasks for the RITM
The problem is the For each is waiting on the first record; not continuing to the other records.
Thoughts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 02:38 PM
This is one of the reasons I do not use flows for catalog items, but I digress.
One option would be to have the flow wait for the requested item to have a variable set to 1 or true or continue or whatever. Then add a BR to the sc_task table that updates the var on the requested item when the first catalog task closes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 05:55 AM
Hi DrewW,
I agree with your dislike for Flows :-).
I'll give this a try and let you know.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 06:20 AM
Here is the current version of the Flow