ScopeAccessNotGrantedException

Ramkumar Thanga
Mega Sage

Hi!!!

I am configuring Skill Determination Rules for AWA, I am using the scripting section for a query purpose from a table which is under a application scope.
(CSM).
The scripting part doesn't got executed and throws the error into the logs. Can anyone suggest your ideas to fix this issue.

From system logs:

Root cause of JavaScriptException: com.glide.script.fencing.access.ScopeAccessNotGrantedException
: com.glide.script.fencing.access.ScopeAccessNotGrantedException: read access to "tableName" not granted: com.glide.script.fencing.ScopedGlideRecord.checkOperationPermitted(ScopedGlideRecord.java:245)
com.glide.script.fencing.ScopedGlideRecord.jsFunction_query(ScopedGlideRecord.java:182)

7 REPLIES 7

@Ramkumar Thangaraj 

Glad to know.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Could you tell us more about how you solved this problem? I'm having a similar one. THanks!

Simanta27
Tera Contributor

Hi @Ramkumar Thanga , can you let us know how you solved this problem?