Task Assignment to reviewer and requester

@nvora You can use interrupting boundary event to the reviewer user task and correlate the message with messageName to cancel the process while the task is in review process.

Correlate Message: Correlate a Message | docs.camunda.org



Deploy this bpmn file and test: DocumentReviewProcess.bpmn (4.9 KB)





Correlate Message to trigger the interrupting boundary event which will cancel the process:

POST http://{{host}}:{{port}}/{{contextPath}}/message

Payload:

{
    "messageName": "cancelReview",
    "businessKey": "DOC001"
}

Audit log: