How to make sure that same user should not get assigned to two task from same user's group

I have a requirement where in I can have same user in two groups,but if same user already completed first task ,i do not want him to be able to complete second task.

Can someone please help me with this as its urgent for me.

Hi @rahulnanda24,

You can revoke authorization on the second task for the user who has done the first task.

You can find more details in below link.

Camunda Best Practices - Managing The Task Lifecycle.

Thank you ,I will go through it.
Again Thanks a lot, appreciate it!

Thank you! it’s working