3 Replies Latest reply on Sep 30, 2005 7:45 AM by James Depoorter

    Task Assign event has ActorId with null value

    Carlos Fau Newbie

      I wrote an ActionHandler for the "task-assign" event.
      The Action.execute method receive control but the TaskInstance.getActorId() had a null value.

      Looking into the code, I saw that the following assigments:

      this.previousActorId = this.actorId;
      this.actorId = actorId;

      were made after firing the Event.EVENTTYPE_TASK_ASSIGN event.

      For the "task-assign" event ActionHandler could access ActorID and PreviousActorId values, the event firing must be done following the assigment, and not before.

      Is that correct?