Hi,
I tried to start a non-interrupting subprocess with a message throw event after starting a process.
At the start of the process I got the following error:
The process could not be started. :
Cannot instantiate process definition Process_1:1:54ec8f2a-d036-11e7-84c3-0242ac120006: Error while evaluating expression: ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“testMessage”).correlateWithResult()}. Cause: org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message ‘testMessage’: No process definition or execution matches the parameters
To solve the problem I had to use “Asynchronous Continuations” before the message throw event.
I found in the documentation something about subprocess subscription.
Is it safe using “Asynchronous Continuations” to solve this problem?
Can this error also happen with “Asynchronous Continuations”?
The bpmn and the image here:
messageExample.bpmn (7.0 KB)
Thanks,
Marco