We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to Rollback the changes in Background script

abbasshaik4
Tera Sage

Hello Everyone,

  • If you want to run the script in the background script
  • In the Application Navigator type background script click select and run the script.

    Abbas_5_0-1701323420014.png

     

     

  • If you want to rollback those changes in the background script
  • In the Application Navigator type Script Execution History and click Select

Abbas_5_1-1701323420580.png

 

 

  •  In the Related Links, click Rollback Script Execution. Select yes/no and click on ok.

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik

2 REPLIES 2

Not applicable

I don't have the "Rollback Script Execution" link option, even I have admin role. Is there any specific role is requried?

Hello @Community Alums,

Yes, the property needs to be enabled, please refer to the link below:
https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/script/server-scripting/concept/c_S...


If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.

Thanks & Regards,
Abbas Shaik