0 Replies Latest reply on Apr 5, 2008 3:13 PM by fsk1234

    Jbpm assignment problem

    fsk1234

      I have two tasks ( A and B) two people(1 and 2). I want people 1 to take task A and people 2 to take task B.

      I assigned A to 1 and B to 2.

      But I still can use either 1 or 2 to take both tasks. There is no difference with or without the assignment.

      Can anyone give me some help?

      Thanks a lot.

      Here is the code

      <start-state name="start-state1">
       <transition to="task-node1"></transition>
       </start-state>
      
       <task-node name="task-node1">
       <task name="A">
       <assignment expression="user(1)"></assignment>
       </task>
       <transition to="task-node2"></transition>
       </task-node>
      
       <task-node name="task-node2">
       <task name="B">
       <assignment expression="user(2)"></assignment>
       </task>
       <transition to="end-state1"></transition>
       </task-node>