ENGINE-16004 Exception while closing command context: Error while evaluating expression


#1

Hello,

I have my process that i want to implement but i’m stuck with message correclation,
process_2.bpmn:
imageprocess_2.bpmn (14.1 KB)

In the attached diagram i use the mechanism of correlation to start other process and they successfully starts, but when i want to make an callback from “pool3Process” to parent with expression in ‘End Event6’ which is : ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“message5”).correlateWithResult()}, 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


#2

The Camunda forum is the right place to ask execution related questions.


#3

Thank you @nikku for you help