3 Replies Latest reply on Jan 30, 2007 4:36 AM by kukeltje

    How to get previous actorid

    san.mohapatra

      hi
      i have tried
      taskInstance.getPreviousActorId();
      but it always returns null value. why?
      or is there any method to get previousActorId.

        • 1. Re: How to get previous actorid
          saviola

          Hi!
          The PreviousActorId is not persisted in the database. So you can use it until you commit the session where you changed the actorId.

          Regards

          • 2. Re: How to get previous actorid
            webjavier

            there is no way to do it???

            "Saviola" wrote:
            Hi!
            The PreviousActorId is not persisted in the database. So you can use it until you commit the session where you changed the actorId.

            Regards


            • 3. Re: How to get previous actorid
              kukeltje

              please do not crosspost and repeating the question without any constructive/addititional information does not help either.

              And if you are a little creative there is always a way to do it yourself. Store the 'current' actor in a variable via an action and retrieve it in the next task as the previous actor.... it's so simple if you just give it a little thought............ sigh.........