logo

NJP

109. Fix Script

Import · Jun 09, 2024 · article

Did you know about ServiceNow ‘Fix Script’, a method of running server-side code after an application is installed or upgraded?

Fix Scripts provide some obvious benefits when compared with a Background Script — copying some examples below, taken from a well-written community article (links at the bottom)

  • Provides the power of the full editor (note that you have line numbers, syntax checking, formatting, etc.)
  • Includes versioning
  • Can be added to Update Sets
  • Includes auditing at the table/field level out of the box
  • Offers the option to turn on the deleted records audit
  • Easy to make a minor change and retry the script
  • Easy to save scripts
  • Allows you to export the script to XML
  • Allows you to push long-running scripts to the background and then monitor via Progress Workers

https://community.servicenow.com/community?id=community%5Fblog&sys%5Fid=e81eae2ddbd0dbc01dcaf3231f96194f

View original source

https://medium.com/@LearnITbyPrashant/109-fix-script-6b5d2f4a7c4c?source=rss-d005fc598f0a------2