- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2022 05:08 AM
Hi Team,
I wanted to find all the script and places where ever sys_id is hardcoded in script.
Reason :
After finding i wish to place it thorough the system properties.
Please help through scripting how can i find where ever sys_id i hardcoded.
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2022 05:12 AM
Hi,
check these links
Is there a way to find all the scripts where sysIDs are hardcoded
how to identify any sysid in script include table using instance scan
Regards
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
07-25-2022 11:32 AM
Duplicate post: https://community.servicenow.com/community?id=community_question&sys_id=1b5be3d7dbbc551039445ac2ca96...
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2022 11:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 08:24 AM
The CodeSanity app contains a set of Instance Scan checks aimed at improving source code and application quality. Developers should run them before shipping a new application version.
Identifying hard-coded sys_ids is one of them.
Vote to make it part of the platform OOTB!
Or install it right away: