Hi Team, I need help with Lifecycle Event Approval Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:23 AM
When I tried to submit a LE case I am getting this error because of which the approval are not triggering
Error :
Do we need to create approvals?(247b9783dbea9110532cec62ca9619d1): org.mozilla.javascript.WrappedException: Wrapped org.mozilla.javascript.JavaScriptException: com.glide.script.fencing.access.ScopeAccessNotGrantedException: read access to sn_hr_le_activity not granted (sys_script_include.365eca63c0a8016600069528aee5affb.script; line 117)
Kindly help on this, thank you in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:34 AM
Hi @harishkolla,
Make sure your workflow & Script include should be in same application scopes.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:36 AM
Hi Sagar
Thank you for your quick reply, the script include is in global scope and can be accessible from all scopes,
Also I have verified same in UAT and my PDI as well, everything looks same.
I don't know where I am missing that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:47 AM
Hi,
Your workflows & sub-workflows are in same application scope?
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 08:50 AM
No, main flow is in LE Scope and Subflow is in HR Core scope