- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 05:13 AM
What is Script Background & Fix Scripts?
I think both are used for running ad hoc scripts without the use of any workflow object or BR etc. But what is the difference?
Solved! Go to Solution.
- 10,576 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 05:21 AM
Hi Swathi,
Fix script is best approach when you install new application or want some data fixes to be running after making some changes in prod. The best feature of fix script is you can monitor it's execution and check the progress and you can kill the transaction as well.
Never execute any insert/update/delete script from script background since if it takes long time the browser will timeout and also if any error comes in the script it may get into some loop.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2018 01:14 PM
Hi Abhinay , can we roll back fix script after it is executed ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2018 01:13 PM
Hi all ,
can we roll back Fix script after it is executed ? i executed it and found some other stuff is getting affected . Can i roll back the change ? thanks in advance .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2018 01:26 PM
Take a look at this feature
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/table-administration/task/background-script-recovery.html
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2018 02:17 PM
Thanks prateek ,
This doucment is about back ground script , But mine is fix-script , these r 2 different mdoules . I used fix-script to update records and want to roll back .
Any idea how ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2019 09:55 AM
There is a flag on the Fix Script called "Record for rollback" if that is checked you can.