Cannot correlate message ‘message5’: No process definition or execution matches the parameters

Hello,

I have my process that i want to implement but i’m stuck with message correclation,
process_2.bpmn:
In the attached diagram, i use the mechanism of correlation to start other processes and they successfully starts, but when i want to make an callback from “pool3Process” to parent with expression : ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“message5”).correlateWithResult()} in ‘End Event6’, i’m getting this error :

org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message ‘message5’: No process definition or execution matches the parameters

I’ve tried a few techniques that were suggested in this forum, but still no luck.

So, how do I properly notify parent process with message events and what is wrong with my process?

Thanks in advance.

P.s.: I’m running it in an Embedded Process Engine with spring framework

Hi @vincitygialam,

you forgot to attach your process :wink:

Do you enter a wait state before you send the callback message?

Please note that the correlation works only for message catch events which are already committed. That means that you need a wait state or asynchronous continuation before you can correlate to the message.

Best regards,
Philipp