The contract of the swimlane is clear afaik:
"A swimlane is a process role. It is a mechanism to specify that multiple tasks 
in the process should be done by the same actor. So after the first task 
instance is created for a given swimlane, the actor should be remembered in the 
process for all subsequent tasks that are in the same swimlane. A swimlane 
therefore has one assignment  and all tasks that reference a swimlane should 
not specify an assignment.

When the first task in a given swimlane is created, the AssignmentHandler of 
the swimlane is called. The Assignable that is passed to the AssignmentHandler 
will be the SwimlaneInstance. Important to know is that all assignments that 
are done on the task instances in a given swimlane will propagate to the 
swimlane instance. This behaviour is implemented as the default because the 
person that takes a task to fulfilling a certain process role will have the 
knowledge of that perticular process. So all subsequent assignements of task 
instances to that swimlane are done automatically to that user. "

The swimlane assignment handler is there to initialize the swimlane beforehand. 
That is what is designed for. The taskinstance assignment handler works 
directly on the task, to assign something.
If you need other behaviour, you can implement a process scoped task-create 
event, that sets the assignment as well, and forget about the swimlane.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to