Task is getting assigned to user who doesn't belongs to candidate group users

Hello,

I have recently started working on Camunda 8 and stuck on issue related to user task.
I have created one user task of type zeebe user task. I have assigned this task to group using candidate group assignment option in moduler.

I have found that this task can be claimed( or assigned) to other users as well even if they don’t belongs to group.

Below is the java code I’m using to claim the task.

zeebeClient.newUserTaskAssignCommand(taskId).assignee(userId).send().join();

I just want task should get assigned to user who belongs to group. How can I fix this issue.
Thanks you for the help.

Hello,

Can anybody help me with this issue.

Thanks you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.