1 Reply Latest reply on May 29, 2009 3:23 AM by Ronald van Kuijk

    Automatic assignment of initiator in start-state task not wo

    Jay Key Newbie

      I'm using jBPM 3.3.1.GA embedded in another app, and can't seem to get the initiator of the process to be automatically assigned to the swimlane associated with a task in my start-state. The documentation seems to suggest that all I have to do is set up a swimlane with no assignment, and add a task with that swimlane to the start-state. My process def. looks like this:

      <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="ChangeManagement">
       <swimlane name="zadavatel"/>
       <start-state name="Start">
       <task name="start task" swimlane="zadavatel"/>
       <transition to="Registration"></transition>

      In my code, I'm setting the actorId for the context prior to starting the process instance, but it never gets set in the swimlane 'zadavatel'. I put a breakpoint on DefaultAuthenticationService.getActorId() to make sure it was never being called, and when the process is created, no swimlane instance for 'zadavatel' is ever created - verified in the database as well.

       ProcessInstance instance =

      I've got a workaround specific for our application, but I'd really rather have this working.