Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Background Script does not show all scopes

john_roberts
Mega Guru

How do I get all scopes to display in the background script scope selector? It seems like it will only show a max of 7 and it looks like it's sorted by created.

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi John,



It should actually display all the scopes in the background script scope selector. Can you please email "pradeep.sharma@servicenow.com" the instance details so that I can take a look.


I found the issue. You can only select from apps that were developed in the instance (sys_class_name=sys_app).


Why can't I select scopes from store applications (sys_class_name=sys_store_app)?



Background scripts are very useful for not just building applications but for also troubleshooting or creating local enhancements to store applications.


I am experiencing the same problem. Is there a resolution for this?



My instance that has the XMatters scoped application does not have that scope available in the scope drop-down menu in the Scripts - Background module.


Shawn Dowler
Tera Guru

This is still an issue. It only shows scopes starting with "x_" but I can't run a background script from scoped beginning with "sn_"