From parent process, a call to subprocess has message boundary catch event with message name ‘A’
From with in the subprocess , the message ‘A’ is thrown via message event.
At throw event following code is used at execution listener to correlate the message based on corelation variables.
runtimeService.createMessageCorrelation(‘A’)
.processInstanceVariableEquals(“id”, execution.getVariable(“id”))
.correlate()
It is ending up at the error ‘TASK/CLIENT-01009 Exception while completing the external task: null’
What is missing ?