Hi,
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.
HTH
Maciej