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

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.