cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get candidate users, candidate groups ??

shiva_arunachal
Champ in-the-making
Champ in-the-making
Hi,

I want to get all properties of a task …candidate users, candidate groups, owner, assignee.
I can get owner & assignee through below method calls.

task.getOwner();
task.getAssignee();

how do i get  candidate users, candidate groups ??
There are no methods

getCandidateUsers()
getCandidateGroups()


Thanks.
2 REPLIES 2

balsarori
Champ on-the-rise
Champ on-the-rise
To get all users/groups involved in a task, use the TaskService

[java]
taskService.getIdentityLinksForTask(String taskId)
[/java]

Check Activiti API at http://activiti.org/javadocs/index.html

shiva_arunachal
Champ in-the-making
Champ in-the-making
Thanks.