AnsweredAssumed Answered

How to get the Candidate group of a given task in activit?

Question asked by rosir on Oct 29, 2018
Latest reply on Oct 31, 2018 by rosir

I am using activiti enterprise and I have synced all groups and users from Keycloak to activiti.. Using the process service editor I have set candidate group for a user task as follows: enter image description here

I have a complete Task method which I am trying to check if the user belongs to the candidate group. I have had a look at the following link

What is the best way to find out the candidate group a task?

and tried taskService.getIdentityLinksForTask(taskId) method and it did not return anything.

What would be the best way to get the candidate group for a task programmatically.