Cancelling a running process instance in Camunda is easy:
DELETE /process-instance/{id}
or, using Java API:
RuntimeService.deleteProcessInstance(String, String)
this will simply delete the process instance and remove it from the database. Sometimes this is exactly what you need.
However: what if you want to cancel the process instance gracefully? Gracefully in the sense that the effects it
↧