This example shows how to get the list of users who are eligible to perform a task.
First, it creates a simple process containing one human task, called "step1". This task will be performed by a user who is mapped to the "expert" actor. An actor filter is applied to "step1", assigning the task specifically to the superExpert user.
Next, it calls getPossibleUsersOfHumanTask
to get the list of all users who are eligible to perform the step1 according to the process definition.
This will be a list of all the users who are mapped to the expert actor.