Performer assignment is dedicated to manual activity (ie. activity with startMode=Manual, aka human task).
Implementing this interface allows to assign the activity to a user of a group.
Within xpdl definition, the performer assignment feature is specified within
external attributes of the Activity element.
There is two parameters to define a performer assignment:
- the type of the performer assignment (ie. custom)
- the name of the class that implements this interface
The
#selectUser method to be implemented is called when the execution enters into the node of
the activity after the creation of the human task and after the execution of
the
RoleMapper if there is one.
This task will be assign to the returned user and only this user can get the task.
In other word, this task is returned by
org.ow2.bonita.facade.QueryRuntimeAPI#getTaskList(with state=READY) only if executed by the assigned user (being authenticated).