Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4469,15 +4469,11 @@ It’s also possible to retrieve all identity links that are defined as potentia

The following example shows how to get list of users who can initiate the given process:

List<User> authorizedUsers = identityService().createUserQuery()
.potentialStarter("processDefinitionId")
.list();
List<User> authorizedUsers = identityService.getPotentialStarterUsers("processDefinitionId");

In exactly the same way, the list of groups that is configured as a potential starter to a given process definition can be retrieved:

List<Group> authorizedGroups = identityService().createGroupQuery()
.potentialStarter("processDefinitionId")
.list();
List<Group> authorizedGroups = identityService.getPotentialStarterGroups("processDefinitionId");

## Data objects

Expand Down