Hi,
I have created candidate group (student) and user(john). Assigned user to group.
From Java program I had created task like below.
List<Task> taskList = taskService.createTaskQuery().taskCandidateGroup("student").list();
assertEquals(1, taskList.size());
System.out.println("found task " + taskList.get(0).getName());
Tasklist size show 1, but i am not able to see the group in Queued list in acitivity explorer. It is showing only four group.
engineering, marketing,sales and management.
Why it is not showing my candidate group?
below us bpmm xml.
<process id="RequestAuthorization" name="RequestAuthorization"
isExecutable="true">
<startEvent id="startevent1" name="Start"></startEvent>
<userTask id="usertask1" name="Travel authorization request"
activiti:candidateGroups="student"></userTask>
<sequenceFlow id="flow1" sourceRef="startevent1"
targetRef="usertask1"></sequenceFlow>
<userTask id="usertask2" name="Authorization approval"
activiti:candidateGroups="coordinator"></userTask>
<sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow3" sourceRef="usertask2" targetRef="endevent1"></sequenceFlow>
</process>
Thanks