I need to notify another system on events like case/process/task start/completion/assignment-change etc. (The historical data should still be stored in the Flowable db.)
The impact on the normal engine processing should be ideally zero or at least very minimal, i.e. an asynchronous mechanism is desired.
I understand the event listener mechanism is synchronous.
What would you recommend to solve this in an asynchronous manner?
Easiest would be to make it async yourself in the logic you add to the listener. That way, the engine will call your listener, but do the actual notification in e.g. another threadpool. The overhead for the engine would be minimal in that case.
Hi @joram i am also working on similar issue , i want to have task listener asyn but i am not finding any particular way to do it via flowable, since i am looking for retry functionality also if code in task listener fail it should retry after some time.