- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 09:38 AM
I created a business rule to updated a created by username. It is very simple but only runs on update and created. Is there away to make it go back an update all cases? Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 09:47 AM
Hi Brandon - You can't run a business rule retroactively, but you could run either a scheduled job to determine which records need updating and then do the update, or you could run a fix script to do similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 09:47 AM
Why not just put the code into a Background Script: https://docs.servicenow.com/bundle/london-application-development/page/script/server-scripting/concept/c_ScriptsBackground.html
This is what we do when we have the update historical data upon implementation of new logic / rules.
I would assume you could also change it to a "query" Business Rule then query the table but that seems like a big no-no since you do not have much control in that case. I'm not sure I would ever recommend it - seems like a bad idea to me versus using a background script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 09:47 AM
do you want to update the existing records?
if yes then you can try with fix scripts here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 09:47 AM
Hi Brandon - You can't run a business rule retroactively, but you could run either a scheduled job to determine which records need updating and then do the update, or you could run a fix script to do similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 10:45 AM
Fix script seems like a good idea... we try to stay away from scripting though. Would I just need to put the business rule script into it or is there more formatting that goes into it?