How to know a script is OOB from servicenow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 05:54 AM
We are trying to avoid changes to OOB scripts without an approval or only a specific group members will be allowed to make changes and developing a POC around it
Question :
How can we identify/query all scripts whether they are OOB or not.
example for business rule i need to get all OOB scripts

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 07:13 AM
That method is not a reliable way to figure out OOTB scripts. When you apply a patch or update from SN, some of the OOTB scripts won't have the same date, and depending on no how quickly they want the patch/fix out, the name of the SN developer will show up on the updated by. Not to mention not all OOTB scripts are on created or updated on the same date.
here is an example of OOTB scripts that were modified with a patch or upgrade from SN employees

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 07:22 AM
Agree with Miguel. Just comparing updated by / created by etc is really no good suggestion. It's not accurate, sometimes the dates for OOB artifacts do differ, what if I just created something though never updated it sure the dates are the same so it's OOB ?!?!?!, etc.. You could guess what's out-of-the-box by looking at the names, though realisticly... no go for such a method.
Just try SncAppFiles.hasCustomerUpdate which I mentioned.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2020 08:13 AM
No need to script to view sys_update_xml table. Just enter "sys_update_xml.list" in Application Navigator.