Background script

Sandeshyadav
Tera Contributor

How to enable the scope selector in the background script. I am currently only able to see the global scope in the scope selector

3 REPLIES 3

Nishant8
Tera Sage

Hello @Sandeshyadav , Could you verify whether you have created any scoped application in the instance, as scope of the applications which were developed on that instance are available here. 

Please refer:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0863463

 

Regards,

Nishant

abirakundu23
Giga Sage

Hi @Sandeshyadav ,
Do you have any scope applications in your instance ? Please check attached screenshot as your references.

abirakundu23_0-1786468222520.png



Follow thread : https://www.servicenow.com/community/developer-forum/background-script-shows-only-global-scope-on-te...

Please nark helpful & correct answer if it's worthy for you.

prajaktakha
Tera Expert

Hello @Sandeshyadav ,

 

Global and Custom Scopes: This picker lets you choose the global scope or any custom application scope created directly on that specific instance (e.g., custom applications prefixed with x_).

 

I have custom Demo app so I can choose my application in BG script as Below:

prajaktakha_0-1786472154671.png


The native dropdown selector deliberately omits certain application scopes to maintain security and baseline integrity

 

If you found my solution helpful please accept the solution and mark it as Helpful.

 

Regards,

Prajakta