For few users, on the portal when navigating from an HR record to homepage displays below error on OOB Script include "hr_Case"

Execute operation on script include 'hr_Case' from scope 'Global' was denied because the source could not be found. Please contact the application admin. 
Execute operation on script include 'hr_Case' 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. 


Release or Environment

Any release


The service portal is in the global application while the script include "hr_Case" is in HR:Core application with caller access restriction. The platform doesn't have any Restricted Caller Access having source type as portal, so it won't create a RCA record. There are only limited RCA source type which does not have portal or portal page 


As a workaround, remove caller restriction is "hr_Case" script include below and change it to none. In this way, all users will be able to access the script inlcude in HR scope without any restriction and error displaying on the navigation to the homepage on the portal.

Additional Information

Please refer to the below docs for source types that can be used in Restricted Caller access.

Set application scope, application resource, and event access

Article Information

Last Updated:2020-02-21 05:02:14