Unable to run script include from another application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 03:56 AM
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
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:29 AM
Hi Eli,
When you call your Script Include from your Fix Script, are you using the scope prefix like
new sn_hr_le.myCustomScriptInclude()....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:31 AM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:34 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 05:14 AM
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?