工作流流向有一个以上的流的方向的时候,必须指定流向,默认时用EL表达式表示,比如一个节点既可以流到A5也可以流到A6,当业务需要流向A5 的时候须指定流转条件${A5}
一条流程有多个流转条件的时候,可以写简单的逻辑:
${A30012==true || A40014==true || A50017==true}
当然在逻辑代码里要指定流向的那个节点为true,其他为false,而且这个前面的节点是要切实存在的
报错信息:
java.lang.RuntimeException: org.activiti.engine.ActivitiException: Unknown property used in expression: ${AAAAA}
org.activiti.engine.ActivitiException: Unknown property used in expression: ${AAAAA}
at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:53)
at org.activiti.engine.impl.el.UelExpressionCondition.evaluate(UelExpressionCondition.java:53)
at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:128)
at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:66)
at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:47)
at org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior.signal(UserTaskActivityBehavior.java:225)
at org.activiti.engine.impl.persistence.entity.ExecutionEntity.signal(ExecutionEntity.java:411)
at org.activiti.engine.impl.