Get possible users of a task

Product version:
6.2, 6.1
Product edition:
  • Community
  • Teamwork
  • Efficiency
  • Performance

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.

The content of this page is for authenticated users only.

Last update on Apr, 28 2014