Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Ankur Bawiskar
Tera Patron

If you need to verify whether a scope belongs to ServiceNow, you can use the following script.

Example:

var scopeObj = new GlideScopeAPI();

var currScope = 'sn_grc_profiles';

gs.info(scopeObj.isServiceNowScope(currScope));

 

AnkurBawiskar_0-1735376312890.png

 

 

 

Note: This function does not check global scope or custom created scoped applications and it returns as false. And this is an undocumented API.

Version history
Last update:
‎12-28-2024 12:59 AM
Updated by:
Contributors