In the attached diagram, I used the same message name “CallNiall” for parallel intermediary catch events.
I get the following error:
"type": "RestException", "message": "org.camunda.bpm.engine.MismatchingMessageCorrelationException: ENGINE-13031 Cannot correlate a message with name 'CallbackCompleted' to a single execution. 2 executions match the correlation keys: CorrelationSet [businessKey=dfdchzxc7546476hbhjdc, processInstanceId=null, processDefinitionId=null, correlationKeys=null, localCorrelationKeys=null, tenantId=null, isTenantIdSet=false]"
Why this Q? - I have a business use case where I have an event-based non-interrupting subprocess that starts with the same message (say CallX) which is also available in the main workflow in the same process def
also, Camunda provides an option to select the same message in a given process definition, this was my first trigger to dig deeper and test. Thanks.