Hi,after many search, i will ask to activiti forum for my question.I want to define dynamically candidateGroup, task by task, for my ProcessDefinition.When i go to ProcessEngine.getRepositoryService().getBpmnModel(processDefinitionId).getMainProcess().findFlowElementsOfType(UserTask.class)
i see candidateGroups but can't modify it. or i don't understood.When i use ProcessEngine.getTaskService().addGroupIdentityLink(taskId, groupId, IdentityLinkType.CANDIDATE)
it work but i want to define once for all task of my ProcessDefinition .The best way to explain what i want is to compare with existing :I want add candidateGroup to a taks of my processDefinition like the method addCandidateStarterGroup that is in RepositoryService.It existing a way to do that?Thanks