diff --git a/docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md b/docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md index 4e0273f726f..1942aac29fc 100644 --- a/docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md +++ b/docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md @@ -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 authorizedUsers = identityService().createUserQuery() - .potentialStarter("processDefinitionId") - .list(); + List 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 authorizedGroups = identityService().createGroupQuery() - .potentialStarter("processDefinitionId") - .list(); + List authorizedGroups = identityService.getPotentialStarterGroups("processDefinitionId"); ## Data objects