pause the flow in flow designer

Deepika54
Tera Contributor

Hi team,

 

In my flow designer, i have 5 catalog tasks and all need to be created at once based on my use case.

I want my flow to be paused until all the catalog tasks are completed. Can anyone tell me how this can be achieved via flow designer

4 REPLIES 4

vignesh parthib
Tera Guru

Hi @Deepika54 

 

Please refer to the following link regarding using Flow Designer in ServiceNow to wait for all tasks to be completed before proceeding:

 

🔗 Flow: How to properly wait for all SC Task records to be completed

 

This solution worked well for me in my project.

 

Thanks,
Vignesh
"If this solution resolves your issue, kindly mark it as correct."

kaushal_snow
Mega Sage

@Deepika54 ,

 

You can utilize a combination of parallel execution and wait conditions. First, group the creation of your catalog tasks within a Do the following in parallel action. For each catalog task, ensure that the Wait checkbox is selected. This setup will initiate all tasks simultaneously and pause the flow until each task reaches a closed state. This approach is effective when the number of tasks is manageable and known in advance. For more complex scenarios, such as dynamically created tasks, consider implementing a subflow that iterates through all related tasks, checking their completion status and pausing the flow until all tasks are closed.....

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Ankur Bawiskar
Tera Patron
Tera Patron

@Deepika54 

you can create them at once and ensure uncheck Wait checkbox on "Create Catalog Task" flow action

Then you can Lookup and For each to check if all tasks are completed

like this

Flow Designer – Wait for all catalog tasks to complete 

AnkurBawiskar_0-1759634248589.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Deepika54 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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