Jun 16
Please help me , I want both pool to send and receive message from each pool.
I have 2 pools that each send a message to the other pool but they fail upon starting them on camunda, I attached my BPMN
Pool1 first task send a message to pool 2 start event.
Task 1 expression ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“requestA”).correlateWithResult()}
pool 2 recives a message at start event. configuration Message name= requestA
Pool 2 then also send message to A
pool 2 task configuration ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“requestB”).correlateWithResult()}
Pool 1 receive the message task configuration Message name = requestB
upon starting it on camunda it fails with the error below
The process could not be started. :
Cannot instantiate process definition Process_1:1:0245b319-7173-11e8-8869-402cf4108c7d: Error while evaluating expression: ${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation(“requestA”).correlateWithResult()}. Cause: org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message ‘requestA’: No process definition or execution matches the parameters