Unable to run script include from another application

Eli Guttman
Tera Guru

Hi,

I have a custom script include on the "Human Resources: Lifecycle Events" application, and fix script on the "Human Resources: Core" application that use this script include.

In the script include, i have set it as Accessible from all application scop and call access is called tracking 

 

EliGuttman_0-1703591181503.png

 

However, when i run the script, i get this message:

 

Unable to identify source of the Execute operation on script include 'MYSCRIPTINCLUDE' from scope 'Human Resources: Core'.
No Restricted Caller Access privilege records were created. The operation was allowed because target resource RCA policy is set to 'Tracking', but will be blocked with the 'Restricted' policy. Please contact the application admin.

 

I know that usually, a record is created in the "Restricted Caller Access Privileges" or the "Cross scope privileges" and then i can allow it - but nothing was created in this case.

 

If anyone can help with that?

Thanks! 

5 REPLIES 5

Brad Bowman
Kilo Patron
Kilo Patron

Hi Eli,

When you call your Script Include from your Fix Script, are you using the scope prefix like

new sn_hr_le.myCustomScriptInclude()....

 

shivangi k
Kilo Sage

Hi @Eli Guttman ,

 

While calling your script include please if you are using the prefix of your scope as well.

For example:  sn_hr_le.scriptInclude().function()

 

And if you want to create "Restricted Caller Access Privileges" or the "Cross scope privileges" then run your script in background script try with both the scopes.

 

Please mark helpful and accept solution if it helps you.

 

Regards,

 

Rene El Hamzh
Kilo Sage

Hi @Eli Guttman,

if it has not been created automatically for whatever reason, you can try to create it manually and see if it resolves the issue. 

 

Best regards,

Rene

Eli Guttman
Tera Guru

Hi, yes, i'm using the prefix and still getting this message, but record is not created in the "Restricted Caller Access Privileges" table.

 

So i should create it manually?