RITM revert to initial state once UI action is clicked

Xhare
Tera Contributor

How to revert RITM to initial state once "edit" UI action is clicked by requestor? My workflow has 5 series of approval.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Xhare 

That is not a recommended way to revert RITM to earlier state, bcz it is driven by flow and this is what definition of Request Management. 

 

RITM either move forward or process end but no way to return back.

 

 

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

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

Jitendra Diwak1
Kilo Sage

Hi @Xhare,

 

This can be achieved by current.state = previous.state in UI action

But it is not suggested to change the state via UI Action because it follows the Flow/Workflow(activity to set the state value.

 

Please accept the solution if it works for you.

 

Thanks

Jitendra

Please accept my solution if it works for and thumps up.

Anurag Tripathi
Mega Patron
Mega Patron

I agree with @Dr Atul G- LNG  here.

If the RITM is not approved it is done, You might want to give user to create a new RITM by copying this one but it would be a new RITM rather than reverting the old one.

-Anurag