Please disregard my previous message. You can add an ExecutionListener on the process level with a event type "end". This ExecutionListener is executed when the deleteProcessInstance is invoked.
Could you please confirm that an execution listener registered with the end event of a process will be executed when deleteProcessInstance is invoked? I followed the path of execution through the source code, and I can't find where this would be occurring.
Yes, an execution-listener which is defined on the process-definition (not on the end-event) will be called when the process is completed normally OR when it's deleted before completion. The delete-reason is also available at this time. If you have a listener defined on the end-event, it will only be called when the process actually reaches the end.