How to solve system log error (com.glide.ui.ServletErrorListener)

Mi4
Tera Expert

Hi,

Plase tell me.

I tried to update valiables the hr case table from the portal widget and I get an error.(by system log)

How can I get rid of this error?

Error Below:

Root cause of JavaScriptException:

com.glide.script.fencing.access.ScopeAccessNotGrantedException


Read access to sn_hr_le_case not granted: com.glide.script.fencing.ScopedGlideRecord.checkOperationPermitted(ScopedGlideRecord.java:238)

 

Thnaks in advance,

 

1 ACCEPTED SOLUTION

As per the error gliderecord query on sn_hr_le_case is not allowed:

Read access to sn_hr_le_case not granted: com.glide.script.fencing.ScopedGlideRecord.checkOperationPermitted(ScopedGlideRecord.java:238)

Can you create configuration on sys_restricted_caller_access table as attached below:

Change the widget name.
If you are using HR Service portal, give source scope as: Human Resources: Service Portal

find_real_file.png

View solution in original post

10 REPLIES 10

Gowrisankar Sat
Tera Guru

This issue is due to Improper scope access to table:sn_hr_lr_case.

Check this out:

https://community.servicenow.com/community?id=community_blog&sys_id=44ad22a9dbd0dbc01dcaf3231f961921

Same error explained in this blog:

https://servicenowben.wordpress.com/2018/09/27/cross-scope-privileges/

Hi,

The solution could not be read from the same error.

Specifically, how can I create a record?

Regards,

Hi Mi,

Does that user have read access to that HR Case table? Also from which scope you are trying to perform this?

Regards
Ankur

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

Hi,

Thank you for your comment.

Since the executor is an approver, it don't have it.

The detail I want to execute is to transfer the information entered by the approver from the approver widget to the 'hr case'.

Therefore, the scope of the widget is service portal, and in the widget, when the approver presses approve, the comment is written to the hr case as "update ();".

 

Regards,