Multiple Tasks with different wait condition

AllenJaikkA
Tera Contributor

Hi! We had this requirement to trigger tasks and if some of the task is closed the other one gets triggered. There are 10 tasks that will fire right after the ticket is submitted. If 4 of the task is closed, say we need to know if Task 5,6,7 and 8 is closed. 15 new tasks will be created and the tricky part is there is a wait condition for triggering the next tasks and if all of the tasks are closed, thats the time that the RITM will be closed. I tried using do the following in parallel with unchecked wait in the task but the flow reads it as completed already even though the ticket is still open. Do we have any other options? Thank you 

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@AllenJaikkA 

your requirement is not clear.

either trigger all tasks at once or trigger then sequentially 1 by 1

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

I decreased the number of task just to get a simplified version of it.image.jpg

@AllenJaikkA 

I used mermaid to create a flow diagram which you can use in your flow designer

check that here

Flow logic diagram 

AnkurBawiskar_0-1767855339715.png

AnkurBawiskar_1-1767855352723.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

AllenJaikkA
Tera Contributor

I forgot to mention that I am working on Flow Designer