Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Did not get rollback option in related links

Purushotham1992
Tera Contributor

Hi ,

 

Ran wrong script in background script , after realize i want to rollback the script 

but i am unable to see the option rollback in related list 

 

Rollback & Recovery > Script Execution History.

1 ACCEPTED SOLUTION

Bert_c1
Kilo Patron

Hi @Purushotham1992 

 

Thank you for posting, I see there is an "update" there. In this case, I have no idea why you can't role back the script execution, provided you find it. Your issue seems to suggest creating a Support Case.  But then you have 'audit history' for that incident record that you can check. And it seems the update may have failed, as I see in the screenshot you're updating a read-only field 'cmdb_ci'. There is no check for the 'incRec.update()' being successful in your script.

View solution in original post

5 REPLIES 5

I ran in production, i.e try to rollback

Is there any thing happened in prod?