[jboss-user] [JBoss jBPM] - Jbpm assignment problem

fsk1234 do-not-reply at jboss.com
Sat Apr 5 15:13:20 EDT 2008


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>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141853#4141853

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141853



More information about the jboss-user mailing list