Hello Community, i have a problem with a specific part of my process application.
I am trying to correlate through the rest api, but i keep getting Ignoring MismatchingMessageCorrelationException, i have one possible workaround but i am not really understanding the source of the problem.
As you can see this is the part of my process that is causing headache.
The events have a listener and I am using the Rest API, the events are marked as async before.
If i correlate the message, i receive the following error:
Unknown property used in expression: ${callBackListener}. Cause: Cannot resolve identifier
So, i tried to put the listener’s to the sequence flow after the events → no difference.
Then i tried to remove the async before → no difference.
Then i marked them as async after and i was able to correlate with the rest api call.
But i do not understand why they should be marked as async after ? Can i do somethig better here ?
How is possible that the camunda engine is not able to resolve the listener ? The Rest-API is deployed separated from the Application containing the bpmn and the listeners. It’s like the listener tries to be executed in the context of the rest engine, that does not have the listeners, but it should only create the jobs to be executed in the database, so they can be picked up from the actual application.