1 Reply Latest reply on Mar 2, 2007 11:03 AM by Ronald van Kuijk

    Swimlane asssignment

    Glaucio Scheibel Newbie

      Hi all! I having the following problem:
      When I have two tasks in diferents task nodes using the same swimlane, jbpm is not invoking the assign handler from swimlane when it reaches the second task.

      here is my jpdl:

      <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="webtest">
       <swimlane name="swim1">
       <assignment class="swim.Swim1"/>
       </swimlane>
       <start-state name="start">
       <transition name="ok" to="task1" />
       </start-state>
       <end-state name="end1" />
       <task-node name="task1">
       <task name="task1" swimlane="swim1"/>
       <transition name="t1" to="end1" />
       <transition name="tr2" to="task2" />
       <event type="node-enter">
       <action name="action1" class="action.Action1" />
       </event>
       <event type="node-leave">
       <action name="action2" class="action.Action2" />
       </event>
       </task-node>
       <task-node name="task2">
       <task name="task2" swimlane="swim1"/>
       <transition name="ok" to="end1" />
       </task-node>
      </process-definition>