Ritm to close after sc task is closed

J_31
Kilo Sage

I have a requirement for a catalog item,  task1 should be generated, then based on the question if more than one task is needed task 2 and task 3 should be generated. 

if there are no additional task needed question is selected, then only task 1 should be generated. if its yes and based on how many task is needed task 2 and task 3 are generated. 

 

I was able to acheive that in the workflow as shown in the image,

if only one task, then RITM should close after task 1 is closed

if task 2 and task 3 are present then RITM should update the after task 1 and task 2 or task 3 are updated. 

 

how to acheive this? 

J_31_0-1719074442474.png

 

1 REPLY 1

Yashsvi
Kilo Sage

Hi @J_31,

please check below link:

https://www.servicenow.com/community/developer-blog/how-to-close-ritm-when-sctask-is-closed-using-bu...

Thank you, please make helpful if you accept the solution.