在flowable6.8.0代码中看到了触发的事件<code>FlowableCancelledEvent</code>和<code>FlowableEngineEventType.PROCESS_CANCELLED</code>,看到注释:
/**
* A process has been cancelled. Dispatched when process instance is deleted by
* org.flowable.engine.impl.RuntimeServiceImpl#deleteProcessInstance(java.lang.String, java.lang.String), before DB delete.
*/
PROCESS_CANCELLED,
实际执行时,并未触发对应的事件,此时需要手动去触发事件,即主动调用自己的事件监听器。