Adding engine-wide event listener to task app


I’m trying to add a custom event listener to flowable-task app and I cannot find any hints on how to do it in docs.
Simply adding a jar to the lib folder obviously does not work, file where I configure engine stuff like database connection doesn’t have any hints on where should I mention the event listener.

Does anyone have any idea on how it is done? I recall for Activiti 5 I’ve managed to do it by adding some custom configuration classes to a jar with the event listener, does Flowable have any way to do it?

Hey @lossril,

Custom Bean deployment for Task/Rest App is similar to what you are trying to do. You need to register the event listener through the ProcessEngineConfiguration and you can do that by making your class an auto configuration.


Thanks a lot! Worked fine for me ( :