问题描述:
2011-05-05 10:37:09,006 [http-localhost%2F127.0.0.1-8080-2] ERROR [500.jsp] - expression 'org.jbpm.pvm.internal.el.UelValueExpression@70d47214' in decision '判断' returned unexisting outgoing transition name: 上级审批
org.jbpm.api.JbpmException: expression 'org.jbpm.pvm.internal.el.UelValueExpression@70d47214' in decision '判断' returned unexisting outgoing transition name: 上级审批
at org.jbpm.jpdl.internal.activity.DecisionExpressionActivity.execute(DecisionExpressionActivity.java:58)
at org.jbpm.jpdl.internal.activity.DecisionExpressionActivity.execute(DecisionExpressionActivity.java:41)
at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632)
at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:430)
at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:416)
at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:201)
at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:65)
at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute
流程图:
<?xml version="1.0" encoding="UTF-8"?>
<process name="received" xmlns="http://jbpm.org/4.4/jpdl">
<start g="24,48,48,48" name="开始">
<transition to="查看收文"/>
</start>
<task assignee="#{person}" form="received_input.jsp" g="108,48,92,52" name="查看收文">
<transition g="-16,-22" name="审核" to="提交审核"/>
</task>
<task assignee="#{username}" form="received_art_view.jsp" g="252,48,92,52" name="提交审核">
<on event="start">
<event-listener class="com.pengtu.utils.jbpm.rollback.RollbackListener">
<field name="m_rollbackTo">
<string value="查看收文"/>
</field>
</event-listener>
</on>
<transition g="-15,-22" name="通过" to="判断"/>
</task>
<decision expr="#{decision}" g="384,48,48,48" name="判断">
<transition g="-31,-27" name="上级审批 " to="领导复核"/>
<transition g="-55,4" name="直接通过" to="送达执行人"/>
</decision>
<task assignee="#{leader}" g="468,12,80,49" name="领导复核">
<transition g="1,-21" name="通过" to="送达执行人"/>
</task>
<task assignee="user" g="588,48,92,52" name="送达执行人">