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?
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.