Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Did not get rollback option in related links

purushothamN599
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 @purushothamN599 

 

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?