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.

Need to close child taks

abhisek
Tera Contributor

I have a requirement :

For a particular catalog item (for example: laptop), if the RITM state is closed skipped then I have to set the stage of

that RITM as cancelled and need to close all the relevant tasks (for exampl: X,Y and Z). In some cases some tasks also are having tasks (for example: the task X is having another tasks like A,B). I need to cancel those tasks as well.

 

Can anyone please help me out with the logic or implementation.

 

Thanks in advance.

 

Regards,

Abhisek Chattaraj.

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @abhisek  

 

If I am right, the process is reverse, if the SC task get closed as Incomplete ,  the RITM  get closed incomplete automatically. As a practice fulfiller work on SC task not on RITM.

 

Not sure why yo want to start with RITM and closed task then. You can do via flow , but again not a good approach.

*************************************************************************************************************
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]

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