Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to Revert the change to New without using change model

Aryan
Tera Contributor

Hello All,

 

I am using workflow only in my change request and our requirement is to revert back the change to New from schedule state, I am using Revert to New button but it is using change model, is there any other way or any solution for that so i can move the state back to New and also all Approvers are Cancelled just like the Revert to new button functionality?

 

Urgent Requirement!!!!!!!!

great if someone help me on this

 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Aryan 

 

Greetings!

Did you raise the change via Model, if yes then it will follow the model transition only

 

But if you raised a change without model, I in my PDI cant see Revert to new button.

 

 

is there any other way or any solution for that so i can move the state back to New and also all Approvers are Cancelled just like the Revert to new button functionality?

Atul: Yes, It is OOTB, you can check Revert to New UI action code. What i can suggest, extend the Revert to New UI to schedule state as well, instead of doing in workfllow.

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

 

I am using only Workflow for my change request, and Revert to new button is also also enable but when I click on the button it only revert the state of my change request to New, is there any way i can cancel the requested approvals and also populate some comments there?

Hi @Aryan 

 

So i understood, you build Revert TO New for schedule state now and your code is not working. What i can suggest, have a look workflow OOTB in PDI and see the code of same and then update your.

 

These approvals are so tricky when it come to change.

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

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

Aryan
Tera Contributor

My issue was resolved, Thanks 

I changed some script in my UI action to restart the workflow approval and now it is working.