Error on HR Talent Management Case

puja kumari
Tera Contributor

Is anyone aware of this type of ERROR - Illegal access to package_private script include MARS_RPhrUtil: caller not in scope sn_hr_core
Any help would be greatly appreciated.

Thanks,

Puja

 

5 REPLIES 5

BalaG
Kilo Sage

Hi @puja kumari the error indicates that you are accessing a script that is scope restricted, see image below. Change the script "accessible from" value to "all application scopes"

scope.png

 

hope that help

--

Bala Guthy

 

Please mark this as helpful or a solution as appropriate.

Susan Britt
Mega Sage
Mega Sage

Hi Puja,

 

It sounds like your script include (MARS_RPhrUtil) is not accessible to the HR Core application scope, but trying to be called/used from it.  If you look at that script include, validate what the "Accessible from" value is.  

Hi @Susan Britt 

I've checked all the client scripts that include this particular script, and they're all developed within the same application as the script itself. Despite this, the error continues to appear.

Thanks,

Hi @puja kumari 

I recommend turning on scope debugging for more info

 

scope.png

--

Bala G