5 Replies Latest reply on Aug 28, 2009 3:47 AM by aroeder

    event type="task-assign" doesn't fire

    aroeder Newbie

      I'm using jBPM 3.2.2 and my task node looks like that:

      <task-node name="INDEX_DATA">
       <task name="enterIndexData" swimlane="INDIZIERUNG">
       <controller>
       <variable access="read,write,required" name="title"> </variable>
       <variable access="read,write" name="agentNumber"></variable>
       <variable access="read,write,required" name="type"></variable>
       </controller>
       <event type="task-assign">
       <action name="de.firstdata.jbpm.action.LogTimesAction"/>
       </event>
       </task>
       <transition to="process_end" name="next"></transition>
      </task-node>
      


      But the event type="task-assign" never gets fired, when I assign an actor by:

      TaskInstance task = ctx.getTaskInstance(pTaskInstanceId);
      task.start(actorID);
      



      What am I doing wrong?