AnsweredAssumed Answered

Activiti: potentialStarter method not work

Question asked by jolo_ on Aug 23, 2013
Latest reply on Sep 3, 2013 by jbarrez
I defined my process like:

<process id="myProcess"
             name="My process"
             isExecutable="true"
             activiti:candidateStarterUsers="MANAGER"
             activiti:candidateStarterGroups="MANAGER">
….


Problem:
The groups and users lists are empty after:

List<Group> groups = identityService.createGroupQuery().potentialStarter("myProcess").list();
List<User> users = identityService.createUserQuery().potentialStarter("myProcess").list();

No matter I proceed those queries bofore or after process start.

Question:
What the reason?

P.S.
I've added "MANAGER" to act_id_user, act_id_group, act_id_membership

Outcomes