I am trying to get events for the ProcessDefinition lifecycle. I am aware of BpmnParseListener and DelegateTask / ExecutionListener. With those I can listen to the deployment of a ProcessDefinition, but not the deletion. Is this possible? Or is there another way to get events which are more suitable for my use case? I’ll need to do the same thing for ProcessInstance and Task, which I think can be done with BpmnParseListener. My goal is to synchronize those objects to a web app.
Since I’m using the REST API, I could hook into the delete API call, though that would not be an elegant solution.