- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2021 11:19 PM
Where does the GlideScriptRecordUtil come from?
Is it a hidden Script Include? (I'm guessing not).
Is it included in a specific Application? If so, which one?
or Is that an older name and it now is called something else?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2021 11:25 PM
Hi,
this is not directly accessible to use as an admin.
This is similar to many other scripts which we cannot access like GlideappVariablePoolQuestionSet etc
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
06-27-2021 11:25 PM
Hi,
this is not directly accessible to use as an admin.
This is similar to many other scripts which we cannot access like GlideappVariablePoolQuestionSet etc
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
06-27-2021 11:38 PM
1. GlideScriptRecordUtil is an API to get changed/modified fields for the current record
2. It's not a script include
3. 'GlideScriptRecordUtil' is not allowed in Scoped Apps, It's applicable only for Global scope(Global applications),
4. For scoped application, the alternative is "getChangedFieldNames"
Regards,
Sai Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 02:49 AM
Hi Sai
How we can use the getChangedFieldNames in the place of GlideScriptRecordUtil?
Just replacing the word is enough?
Regards,
Sirraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:31 PM
You can refer to this - http://snamigos.blogspot.com/2017/11/how-to-get-changed-or-modified-fields.html
You can also use GlideScriptRecordUtil in the scoped app as per the below
Use GlideScriptRecordUtil in Global script include and set accessible from as all application scopes and call the script include in your server-side scripts