How to Close RITM, when all the Task closed In ATF

Sriram Pusuluri
Tera Contributor

Hi Team,

 

How to Close RITM, when all the Task closed In ATF

 

I have 5 catalog tasks, I have closed all the 5 using different Test steps. After that I have opened RITM record. 

 

Now How to close the RITM and How to validate is all the sc_tasks are closed or not?

4 REPLIES 4

Dr Atul - LNG
Tera Patron

Is this not being handled by a backend flow? My understanding is that once the task is closed, the RITM and REQ are automatically closed as well.

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

@Dr Atul - LNG 

 

It will be closed, but what is happening I have closed all the tasks, but in the RITM related list still sc_tasks are showing as Open. 

 

SriramPusuluri_0-1793029160415.png

 

List view screenshot, only state I have taken screnshot

 

SriramPusuluri_0-1793029751326.png

 

 

Hii @Sriram Pusuluri 

If you perform manual testing and close the task, does the RITM also get closed? If yes, the same behavior should be validated through ATF as well. If it is not working, the flow may be incomplete and needs to be updated to ensure the RITM and REQ states are updated accordingly when the task is closed.

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

Tanushree Maiti
Tera Patron

Hi @Sriram Pusuluri 

 

You can  use  flow to close RITM post validating whether all fulfillment tasks.

 

You can refer this community post :

Closing a RITM after all tasks are closed 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti