Controlling Cross-Scope Table Access in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 10:51 PM
I have a table named "Git_Hub" in the "CICD" application scope, and I have another application scope called "Student".
Now, I want to create a Client Script in the "Student" scope that should auto-populate a field from the "Git_Hub" table, which belongs to the "CICD" scope.
In the Application Access section of the table, I see only options like:
All application scopes
This application scope only
There is no option to allow access to a specific other scope.
How can I configure the Git_Hub table so that it allows access only to the "Student" scope (and not to all scopes), for security reasons?
Is there any way to restrict table access to a particular scope only instead of all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 11:00 PM
Hello @samarthcv37
Please try the Restricted Caller Access privilege
Please let me know if that works for you
Thank you!
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 11:13 PM
Things to do, please use GlideAjax script include from client script
1) ensure that table "Git_hub" is marked as Caller Access as "Caller Restriction"
2) then handle the restricted caller access record so that access is allowed from this script include to that "Git_hub" table from your scope. ensure it's marked with Status=Allowed. This record will be created in "Git_hub" scope. something like this
Instead of Document Templates scope, it will be your "Git_hub" scope.
Select your target table on right side as "Git_hub", select your script include, status - Allowed
Restricted caller access privilege settings
3) Create cross scope privilege records which allows access to this table from Your Student scope
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