1 Reply Latest reply on Sep 1, 2006 5:56 AM by shan weiZhong

    fork can not create a child token for each transition that l

    shan weiZhong Newbie

      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>