
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2021 12:13 PM
Hi everyone,
I created a script include for the instance's core application to place functions and be able to reference them as a condition in the UI Action, so that the buttons only appear when the flow designer is running. And I'm making the flow in a different application than the script include was created. In this sense, when I'm testing the flow, the following message is appearing: Execute operation on script include 'cscUtils' from scope 'XXXXX' was denied because the source could not be found. Please contact the application admin. How should I solve this problem?
Thanks,
Flavio.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2021 05:16 AM
Hi,
I tried in my PDI, I created a script include with the "Caller Access" as "Caller Tracking" and I got the same error message. So just change the "Caller Access" to "None".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2021 12:46 PM
I think you are trying to access the scoped app so your access was denied. You need to configure restricted caller access on "Restricted caller access privilege" module.
If my reply is Helpful/Correct, please mark the answer as correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2021 10:20 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2021 12:50 PM
Let me verify more about your requirement?
1) Both your script include and UI action are in same scope. Is that global or scoped?
2) Your flow is in the scoped app which is different scope than both script include and UI Action, but you like the flow to access that script include, right?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2021 05:04 AM
1) Script include and UI action are in a different scope. Both are in a scoped application.
2) Flow and UI Action are in same scope. Script include is in a different scope application. And I would like the buttons to only appear when the flow is running. For that, I created this function inside the script include:
And I put it in the UI Action conditions. Thus:
Thanks,
Flavio