Read operation on table 'sn_hr_er_enquiry_case' from scope 'Human Resources: Core'

vijani
Giga Guru

 

Hi all, I am encountering the following error while creating a case. Could anyone please help me with this?


Read operation on table sn_hr_er_enquiry_case from scope Human Resources: Core was denied.The application 'Human Resources: Employee Relations' must declare a Restricted Caller Access privilege. Please contact the application admin to update their access requests.

 

Thank you 

1 ACCEPTED SOLUTION

Tanushree Maiti
Tera Patron

Hi @vijani 

 

This error occurs due to ServiceNow's cross-scope data protection. Because the 'Human Resources: Employee Relations' application attempts to read HR data outside of its own application scope

 

  1.  In the left-hand navigation filter, type sys_restricted_caller_access.list to open the Restricted Caller Access Privileges table. 
  2. Create a New Record: Click New
  3. Configure the Privilege: Set the following values:
    • Source Application: Human Resources: Employee Relations
    • Target Type: Table
    • Target Name: sn_hr_core_case
    • Operation: Read
    • Status: Allowed
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

12 REPLIES 12

Ankur Bawiskar
Tera Patron

@vijani 

where you are getting this error? native or workspace?

share screenshots

was this error coming earlier?

Any recent upgrade?

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

Hi @Ankur Bawiskar 
it's on native view
i have created a custom table(Enquiery) by extending ER case and also created topic details and category, hr service.

 

@vijani 

screenshots please

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

@vijani 

somewhere some script is trying to access that table from HR Core scope

Did you try to give cross scope privilege record for that table from HR Core scope?

like this

55.png

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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