Good morning,
I’d like to send the processInstances’s variables to elasticsearch on every milestone that has been executed, and I thought about using Camunda CDI event bridge. I can detect the events that I want and perform that indexation. The problem is that I cannot use it on Camunda Unit tests, I tried it but I don’t get the listeners triggered on my tests.
Then I saw the BPMN Parse Listeners, which behaviour looks similar to cdi events bridge to me… Are these two ways intended to be used for different goals? Is it easier to perform tests with Parse Listeners? Or is it any of them becoming obsolete?
So far I managed it to work with CDI events bridge but my problem is how to get them to work with unit tests, or at least knowing if it’s possible or not.
Thanks in advance,
Alfonso.