How to move the state of the RITM as closed incomplete based on task state

suuriya
Tera Contributor

Hi Community,

 

I have a requirement, when the catalog task is moved to closed complete then RITM is moved to closed complete even it happens when task is moved to closed incomplete the ritm is also moved to close complete but in this case when task is moved to closed incomplete i want the state of the ritm to move it to closed incomplete.

 

How can we achieve this....If it is OOB can we able to change it?

 

Thanks in advance!!!

1 ACCEPTED SOLUTION

Manoj89
Giga Sage

Try to add activity

Manoj89_0-1705068136980.png

Open Task activity --> Go to the bottom of the page --> click Conditions related link

Manoj89_1-1705068224975.png

Click always --> set codition "activity.result != 7" (vale of closed skipped state) 

Manoj89_2-1705068448131.png

Now add another workflow condition, name it anything, and set the condition "activity.result == 7"

Manoj89_3-1705068535082.png

Manoj89_4-1705068579811.png

Publish the workflow (ignore the warning you see) to see the additional condition added

Manoj89_5-1705068692648.png

Task SkippedTask completed
Manoj89_6-1705069107045.png

 

Manoj89_7-1705069199668.png

 

 

Refer to the SN Documentation Manage workflow activity conditions (servicenow.com)

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @suuriya 

 

Please check the OOTB flow on request and you need to update the stage only but be careful these are OORTB flow. So try in pdi and then make changes. 

 

Also better to think from business

 

If total 10 task but only task 3 is incomplete and user can do work on 4tto 10 th task, do you still want to mark RITM Incomplete. 

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

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

Hi @Dr Atul G- LNG ,

 

Thanks for replying.

 

But i need the changes only for particular workflow....for example name of the catalog is X and only for that catalog if the tasks are moved to closed incomplete, then ritm needs to move to closed incomplete.

Is it achievable? 

Hi @suuriya 

 

Yes do able, but need to update the conditions. Have a deep dive in OOTB and see you can make changes, but take a copy before you do changes. 

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

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

Manoj89
Giga Sage

Try to add activity

Manoj89_0-1705068136980.png

Open Task activity --> Go to the bottom of the page --> click Conditions related link

Manoj89_1-1705068224975.png

Click always --> set codition "activity.result != 7" (vale of closed skipped state) 

Manoj89_2-1705068448131.png

Now add another workflow condition, name it anything, and set the condition "activity.result == 7"

Manoj89_3-1705068535082.png

Manoj89_4-1705068579811.png

Publish the workflow (ignore the warning you see) to see the additional condition added

Manoj89_5-1705068692648.png

Task SkippedTask completed
Manoj89_6-1705069107045.png

 

Manoj89_7-1705069199668.png

 

 

Refer to the SN Documentation Manage workflow activity conditions (servicenow.com)