When I was first starting out with ServiceNow, someone pointed me to the scheduled jobs when I needed to run a script on a recurring basis, and I’ve ended up using on demand scheduled jobs to test pieces of script includes I was creating.
For the most part it’s a great way to run a script on demand, but a while ago I found out that you can use fix scripts in ServiceNow to run code, and they have the astounding benefit of letting you roll back the changes from your script if things don’t go as you were expecting them to.
The next time you need to move data around using a script inside of ServiceNow, use a fix script!
Hat tip to my co-worker Kim for teaching me that.