From 0e54baee71e19c3e0853f91255bc2f0e96e2925f Mon Sep 17 00:00:00 2001 From: Abdullah <89297042+AzazelSensei@users.noreply.github.com> Date: Wed, 16 Sep 2026 12:55:28 +0000 Subject: [PATCH] docs: replace removed potentialStarter query (#1177) UserQuery and GroupQuery no longer have potentialStarter. Document IdentityService.getPotentialStarterUsers and getPotentialStarterGroups instead. --- docs/docusaurus/docs/bpmn/ch07b-BPMN-Constructs.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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