|
本帖最后由 sandgia 于 2023-10-20 10:47 编辑
String subprocess = "/ERP/PRJManage/PRJ_DEEPDESIGN/process/PRJ_DEEPDESIGNsub/pRJ_DEEPDESIGNsubProcess";
ProcessControl control = ProcessUtils.startProcessQuery(subprocess, null, null);
就以上两句,第二句报错,其实相关的 的流程节点都已经配置了普通用户。
Caused by: com.justep.model.exception.ModelException: 编码: JUSTEP154075; 提示: 调用函数currentPersonMember2出错
at com.justep.model.exception.ModelException.create(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.functionExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.constExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.unaryExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.multiExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.addExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.compExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.notExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.andExpression(Unknown Source)
at com.justep.system.ksql.parser.ExpressionImpl.orExpression(Unknown Source)
... 66 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
... 75 more
Caused by: com.justep.system.util.BizSystemException: 编码: JUSTEP180029; 提示: 权限验证出错, 当前process="/ERP/PRJManage/PRJ_DEEPDESIGN/process/pRJ_DEEPDESIGNsub/pRJ_DEEPDESIGNsubProcess", activity="mainActivity", action="startProcessQueryAction", executor="/100000.ogn/100005.dpt/200098@100005.psm"
at com.justep.system.util.BizSystemException.create(Unknown Source)
at com.justep.system.context.ContextHelper.getPersonMember(Unknown Source)
at OrgFn.currentPersonMember(OrgFn.java:219)
at OrgFn.currentPersonMember2(OrgFn.java:231)
... 79 more
|
|