For each logic and "wait"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 12:01 PM
I'm trying to do a simple loop of tasks for assignment groups in flow designer.
The behavior for "for each item in" logic in flow designer with "wait" checked is to create one task and then wait for that first task to complete before moving on.
Can I get this to work so that it creates all required tasks for each group and then wait?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 02:44 PM
Hi KB,
- Create a loop to iterate through the assignment groups.
- Inside the loop, add a parallel branch to create tasks for each group.
- After the parallel branch, add a wait condition to wait for all tasks to be completed.
- Once all tasks are completed, continue with the flow.
Please mark this response as correct and/or helpful if it assisted you with your question.
Regards,
Tushar
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 09:06 PM
I don't think it would support this
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
