Execute operation on script include 'hr_caseOpenRequestFilterUtil' from scope 'Global' was denied.

spencerc3
Tera Contributor

Hi, 

 

We are trying to implement the Employee Center Out of the Box widget, 'My Items' which shows tasks, requests, surveys , and Today's Reservations to our custom portal.

 

We are getting this error: Execute operation on script include 'hr_caseOpenRequestFilterUtil' from scope 'Global' was denied. The application 'Global' must declare a cross scope access privilege. Please contact the application admin to update their access requests.

 

When adding the widget to the page the functionality is fine up until i click 'Requests'

spencerc3_0-1757110564597.png

 

spencerc3_1-1757110564758.png

 

After clicking requests, I am getting an error for an HR util.

 

I tried creating cross scope privileges for global to have access to the HR script hr_caseOpenRequestFilterUtil. (script is in Human Resources: Core application). 

 

But I get this error 

spencerc3_2-1757110564762.png

 

Any help is appreciated! Thanks

2 REPLIES 2

ChrisBurks
Mega Sage

Hi @spencerc3 ,

 

If you haven't resolved this issue yet, have you tried creating a "Restricted Caller Access" record. I know the error states a Cross Scope privilege, but perhaps that is an error. Maybe it meant to read as a restricted caller access error as they are so closely related. Below is an example of the restricted caller access allowing the Global Scope to execute the script include hr_caseOpenRequestFilterUtil

ChrisBurks_0-1757195569650.png

 

Bhuvan
Kilo Patron

@spencerc3 

 

Go to script include 'hr_caseOpenRequestFilterUtil' and change caller access from 'Caller Restriction' to 'None' and try the widget.

 

If you want to track the requests, you can change from 'Caller Restriction' to 'Caller Tracking'

Bhuvan_0-1757210246432.png

Refer below document for more details on caller access,

 

https://developer.servicenow.com/dev.do#!/learn/courses/zurich/app_store_learnv2_scripting_zurich_sc...

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan