cancel
Showing results for 
Search instead for 
Did you mean: 

Basic concepts about users and tasks

andregs
Champ in-the-making
Champ in-the-making
Hi,

Could you please explain the different relationships between users and tasks?
- Owner
- Assignee
- Candidate
- Involved

I also don't understand the difference between reassign, transfer and delegate a task.

Related topics:
- http://forums.activiti.org/en/viewtopic.php?f=6&t=2043
- http://forums.activiti.org/en/viewtopic.php?f=6&t=2237

Thanks,
12 REPLIES 12

frederikherema1
Star Contributor
Star Contributor
Always glad to help Smiley Wink

manav1
Champ in-the-making
Champ in-the-making
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

jbarrez
Star Contributor
Star Contributor
Cause you haven't created the 'student' group in the identiy management section yet. Once you have created it there, with the exact same name, it will show up.