Flow Designer custom flow

Naveen87
Tera Guru

Hello Developers,

 

I'm building a custom flow for a catalog item.

There are 2 sctask. No.4 & 6.

 

1st time - When 4 is closed, 6 will be created. 

1st time - When 6 is closed skipped, then 4 will be re-opened.

2nd time - Again when 4 is closed, 6 will re-open.

2nd time - Again when 6 is skipped, 4 should re-open, (failed)

This will happen until 6 is closed successfully.

 

Below flow is executing once but failing at 2nd time. How do i make it recursion?

Naveen87_0-1742206826428.png

 

2 REPLIES 2

OlaN
Giga Sage
Giga Sage

Hi,

I would advice that you should not solve this with a looping behavior that changes existing closed tasks and reopen them.

Instead, create new catalog tasks if necessary when task on step 6 is skipped.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Naveen87 

 

Agree with @Ola , Reopening a closed task is a clear violation of the process and makes the flow more complicated. Either don't close the task or create a new task when required.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************