I am using Camunda as workflow engine. I define the registry process as follows: 1- User submit request. 2- Admin check request. If request needs editing, two tasks will raise, "Edit Request by User" and "Approve/Reject by Admin" (second task is used because user may not continue so that admin could finish the process).
If one of the tasks is completed, the other task should be canceled and only one path of execution continued.
How can I do that?
Now if User complete "Edit Request by User" task, the "Approve/Reject by Admin" remains active (two paths of executions)
You have several options:
If all this sounds like gibberish to you, then you may want to check out: