Rollback and delete recovery
When ServiceNow releases a new version there are always functionality that you don't read about, but suddenly pops up on you screen. And that was exactly what happen to me. I was just playing around with Scripts - Background and suddenly noticed a new line after I ran the code saying "Script execution history and recovery available here".
After clicking on the link I ended up in a record showing my code and more option like e.g. doing a rollback on the records I changed with my script.
I could also go and see records that I have deleted manually and rollback those and the related records like this SLA attached to an incident.
So grab a cup of coffee and follow me as I walk through the different functionalities in this video:
//Göran
https://www.servicenow.com/community/developer-blog/rollback-and-delete-recovery/ba-p/2269767