- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 07:01 AM
Hey,
i have written a script include in a custom application and created a catalog variable of type reference with in the custom scope
Script include return the sysids and im using this reference qualifier
javascript: 'sys_idIN' + new sn_docker_spoke.MS_CITM_get_User_Org_Officer().getUserOrgOfficers(current.variables.requested_for);
Its working when i used to call script include in client script and background script
and seems working in global scope reference qualifier
But when im using the reference qualifier in custom scope its not even triggering the script include
can anyone help me on this, thanks in adavance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 08:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 09:04 AM
script include and variable are in same scope?
If script include is in custom scope and variable is in another scope, then possibly cross scope issues is blocking
Did you check that?
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-09-2025 07:55 AM
Make sure your script include 'MS_CITM_get_User_Org_Officer' is accessible from all scopes and client callable is checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 08:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 08:58 AM
i did try with accessible in all scopes and client callable true and false, set no result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 09:02 AM
Here is a question that has gotten me in the past. Did this work in DEV but not work in PROD? Cross Scope Application Access does not come over in an update set, so if it works in DEV and not in PROD, check that.