- 
        1. Re: Group assignmentsswiderski.maciej Aug 20, 2010 2:12 PM (in response to mbryan)Please have a look at section 6.2.6.2 of user guide: http://docs.jboss.com/jbpm/v4/userguide/html_single/#task 
- 
        2. Re: Group assignmentsmbryan Aug 20, 2010 3:25 PM (in response to swiderski.maciej)Sorry, i forgot to mention two things: i'm working with jpdl 3.1.7 and with jbpm-simulation, so i don't only have a processdefintion, i also have a experiment-definition. i found http://docs.jboss.com/jbpm/v3/userguide/tutorial.html#taskassignmentexample this example and it is said that i'm supposed to add a few lines of code, but since everything in my project looks a bit different, this example doesn't work for me. 
- 
        3. Re: Group assignmentsmbryan Aug 30, 2010 2:35 PM (in response to mbryan)Okay, i figured out how to implement an assignment: <task-node name="endoskopie"> <task name="endoskopie"> <assignment class='org.jbpm.sim.tutorial.business.newProcess.DoctorAssignmentHandler' /> </task> ... </task-node> public class DoctorAssignmentHandler implements AssignmentHandler { @Override public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception { assignable.setActorId("doctor"); } }But now i have additional questions: -How can i tell jpdl, that the doctor used in the assignment is the same as in the swimlane doctor? -If no doctor is available, how can i tell jpdl, that it should use another role, e.g. a nurse? Thanks in advance 
 
    