Illegal Access to global script include from scoped app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 06:28 AM
I am trying to use the "group type" filtering on the assignment group for Incidents and Cases. The script include works fine for Incidents but I cannot get it to work for Cases. Does anyone know what I am doing wrong? I saw in a post to not use gs.log so I changed that line to gs.info for scoped applications. The script include shows to be accessible from all application scopes.
Error I am getting on the case table:
Here is how I am calling the global script include:
Here is my script include:
Script include code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 08:42 PM
When working with ServiceNow scoped applications, accessing a global script include from within a scoped app directly is restricted to ensure encapsulation and security.