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:
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?
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.