Background Script IN SCOPE Dropdown Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 03:03 PM
Hi,
In Background-Scripts, I am looking to add my custom applications in the dropdown list of "IN SCOPE". Right now it only has Global scope as the available option.
Any guidance/steps to overcome this requirement is greatly appreciated.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 09:11 PM
Hi @Ya_Ga ,
Only the applications that are developed on that instance will have their scopes visible/accessible in the background script.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0863463
And the reason is explained here:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0751600
For reference :
https://www.servicenow.com/community/developer-forum/how-to-install-xplore-tool/m-p/2116856#M773782
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 09:52 PM
Hi @Ya_Ga ,
Check the below thread which explains the reason of it:
Background Script - not all scopes available.
Is there a way to run Background Scripts in the Scope of an installed application
Admin users unable to select few applications from Scope selector in background scripts
Workaround suggested in the above threads:
(a) Run Fix Script instead of background script on the required scope OR Use Xplore to run fix script
Download: Xplore: Developer Toolkit
Implementation Steps: Install Xplore tool
Mark this as Helpful / Accept the Solution if this helps.