- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 02:13 AM
Hi,
I am receiving below error while trying to get output from sub flow using script. when I am testing sub flow directly it is completing successfully and giving me the output.
Any help would be appreciated.
Below is the error:
Evaluator.evaluateString() problem: java.lang.IllegalStateException: Recording privilege requests only allowed for sys_apps: com.glide.sys.fencing.privilege.CustomAppPrivilegeRecorder.recordPrivilege(CustomAppPrivilegeRecorder.java:12)
com.glide.sys.fencing.privilege.PrivilegeProvider.updateDatabase(PrivilegeProvider.java:58)
com.glide.sys.fencing.privilege.PrivilegeProvider.recordPrivilege(PrivilegeProvider.java:45)
com.glide.sys.fencing.privilege.CrossScopePrivilege.recordAccessInDatabase(CrossScopePrivilege.java:148)
com.glide.sys.fencing.privilege.CrossScopePrivilege.requestAccess(CrossScopePrivilege.java:77)
com.glide.script.fencing.ScopedScriptableObject.checkCrossScopePrivileges(ScopedScriptableObject.java:194)
com.glide.script.fencing.ScopedScriptableObject.shouldAllow(ScopedScriptableObject.java:109)
com.glide.script.fencing.ScopedScriptableObject.get(ScopedScriptableObject.java:77)
com.glide.script.fencing.ScopedScriptableObject.get(ScopedScriptableObject.java:74)
org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2097)
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2394)
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2380)
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1349)
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:160)
com.glide.caller.gen._refname_.call(Unknown Source)
com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 02:48 AM
please check the script in inputs are passed correctly to the subflow are not.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 02:31 AM
@ManiBitra There might be issus in the script from where you are calling the subflow. Please check the script properly.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 02:40 AM
Hi Priya,
For testing purpose I am currently calling it from fix script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 02:48 AM
please check the script in inputs are passed correctly to the subflow are not.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 03:05 AM
@ManiBitra please mark my answer as correct if it helped you.