[jboss-user] [JBoss jBPM] - fork can not create a child token for each transition that l
mrshan
do-not-reply at jboss.com
Fri Sep 1 03:59:10 EDT 2006
fork can not create a child token for each transition that leaves the fork,
only create one childtoken for the transition of top?
Please tell me why and the solution, thanks.
I have use Jbpm3.1.2, the processdefinition.xml like following:
<fork name="BeginRequest">
| <transition to="IsChief"/>
| <transition to="RequesterCancel"/>
| </fork>
| <decision name="IsChief">
| <handler class="jbpm.example.leave.delegation.ChiefDecision"/>
| <transition name="BossApprove" to="BossApprove"/>
| <transition name="ChiefApprove" to="ChiefApprove"/>
| </decision>
| <task-node name="RequesterCancel">
| <task swimlane="requester">
| </task>
| <transition name="cancel" to="Decided">
| <action class="jbpm.example.leave.action.RequestCancel"/>
| </transition>
| </task-node>
| <task-node name="ChiefApprove">
| <task swimlane="chief">
| </task>
| <transition name="approve" to="Decided">
| <action class="jbpm.example.leave.action.Approve"/>
| </transition>
| <transition name="disapprove" to="Decided">
| <action class="jbpm.example.leave.action.Disapprove"/>
| </transition>
| </task-node>
| <task-node name="BossApprove">
| <task swimlane="boss">
| </task>
| <transition name="approve" to="Decided">
| <action class="jbpm.example.leave.action.Approve"/>
| </transition>
| <transition name="disapprove" to="Decided">
| <action class="jbpm.example.leave.action.Disapprove"/>
| </transition>
| </task-node>
| <join name="Decided">
| <event type="node-enter">
| <action class="jbpm.example.leave.delegation.DecidedJoin"/>
| </event>
| <transition to="DoSomething"/>
| </join>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968859#3968859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968859
More information about the jboss-user
mailing list