cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign user task to a user/group?

bogdan
Champ in-the-making
Champ in-the-making
I've done a simple process in Activiti Modeler (adding tasks, start and end events, and assotiations it with flow arrows) and deployed it, start instance process, but no new tasks will be displayed for sample user kermit. How can I assign user or group to task in Activiti Modeler or process definition xml file?
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
Check our userguide for assignment in XML: http://activiti.org/userguide/index.html#bpmnUserTaskAssignment

pbhat
Champ in-the-making
Champ in-the-making
I am trying to use the candidate group feature from the form of Simple approval process included in Activiti Explorer.
   <userTask id="usertask2" name="Approval task" activiti:candidateGroups="${approver}" activiti:dueDate="${duedate}">

In the form I entered approver=manager
Tried with Manager also.
I dont see the task in the tasklist of kermit or gonzo who are in the manager group.
I am using 5.13 activiti explorer.
Let me know what I am doing wrong. No custom code here. Only what is included in activiti explorer.
Thx

trademak
Star Contributor
Star Contributor
If you specified ${approver} as the candidate group then you should see the task appearing the queued tasks for Kermit. The main task list only shows the tasks which already have been assigned to a specific person.

Best regards,

pbhat
Champ in-the-making
Champ in-the-making
Thx, I see it working now