Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

For each logic and "wait"

KB15
Giga Guru

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

Tushar
Kilo Sage
Kilo Sage

Hi KB,

 

  1. Create a loop to iterate through the assignment groups.
  2. Inside the loop, add a parallel branch to create tasks for each group.
  3. After the parallel branch, add a wait condition to wait for all tasks to be completed.
  4. 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

Ankur Bawiskar
Tera Patron
Tera Patron

@KB15 

I don't think it would support this

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader