complted tasks are also getting changed to closed incomplete if request is cancelled.

Debasis Pati
Tera Guru

Hello All,

I saw one scenario where if i cancel a request which has completed tasks and work in progress catalog tasks for all the tasks it makes as closed incomplete.
where i want it should not close incomplete the closed completed tasks it should only update the incomplete tasks(active true) to closed incomplete.

where is this oob behaviour present which makes this changes?

@Ankur Bawiskar  any suggestion on this?

8 REPLIES 8

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Debasis Pati 

Did you try the reverse order — mark the task as closed/incomplete first, and then it should work? Because, as I understand it, if you cancel the REQ, it cancels/closes all tasks automatically.

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

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

Hello @Dr Atul G- LNG ,
we have configured one custom Cancel button for request and want to achieve this feature where we want to cancel the request and when we cancel the request it should close cancel the request and if any ritm is active it should make them closed incomplete same goes for the active catalog tasks as well.

Hi @Debasis Pati 

It is a customization, and if you want it to work, you need to review all OOTB logic as well. Your logic might be conflicting with other OOTB functionality, which could be causing this issue. It’s better to avoid this and use the OOTB way to close the REQ and RITM.

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Debasis Pati 

see if this OOTB BR does this "request closure"

Also you can try to enable debug business rule and see which BRs are triggering

AnkurBawiskar_0-1761570450045.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