Creating Lifecycle Listeners for Async Active Leave

When creating Lifecycle Listeners in a CMMN plan item, I only see an option for Async Active. Since we would like to leave asynchronously – given a HTTP request in the exiting listener – we cannot simply rely on Async Active to Completed as that does not trigger the listener.

We instead must update the XML outside of the modeler to be async-active-leave:
<flowable:planItemLifecycleListener sourceState="async-active-leave" targetState="completed" ...

Is it ill-advised to be using listeners for async-active-leave, or is it a gap in the remodeled Modeler?

2 Likes