1 Reply Latest reply on Mar 26, 2010 10:20 AM by Maciej Swiderski

    ActorId expression

    rafael liu Newbie

      I'm running a process that uses an expression as the assignee for some task. The problem is that when this expression isn't evaluated correctly the task get lost (actually it's assigned to <null>).


      Is there some smart way to handle this? Some sort of Dead Task Queue, or a default ActorId, something?

        • 1. Re: ActorId expression
          Maciej Swiderski Master



          Depending on when and how you want to reassign the task you could do as follows:

          - use TaskQuery to find the task using process instance id

          - use TaskService to assign user to a given task


          If you want to have a default actor id you could use AssignmentHandler and in case of troubles assign the default one.