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.

Loop in flow designer for Catalog item

kaveri Shinde10
Tera Contributor

Hi,

 

I have a requirement with the catalog item that needs to be build using flow designer

Step 1 : create catalog task(first)
Step 2 : Once the catalog task is closed trigger approvals

Step 3 : a. Approval - approved   >Step 4: create second catalog task

              b. Approval - rejected > Step 5: open the first catalog task and continue with Step 2

please help me with this requirement how to loop back to the previous actions

kaveriShinde10_0-1703663470830.png

 

 

2 REPLIES 2

Amit Verma
Kilo Patron
Kilo Patron

Hi @kaveri Shinde10 

 

You can give a try to the flow logic "Do the following until" https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/concept/f...

 

Also, you can even create sub-flows to achieve this.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

SunilKumar_P
Giga Sage

Hi @kaveri Shinde10, You can try with "Do the following until" flow logic and then set the SCTASK state to Open.

 

SunilKumar_P_0-1703673325818.png

 

Regards,

Sunil