Automatic approval of user task when another task is approved by User


I have two user tasks on X-or gateway.
When any of the user (approves/rejects) the task , the other user tasks should be deleted from his list.

Ex: Main flow waits for any one of the user tasks to complete .At that time, the other user task which is not completed should be stopped.
The assignments of the other user task should be cancelled.
In pega , we have something like split for each with Join Type “All”.

Does Camunda have similar feature?