Execution Listener cannot access local variables set on message boundary event .
I correlates a message to M1, and its end listener can access local variable set in message.
But when I correlates a message to M2, the end listener of M2 cannot access local variables set in message.
Is there anything I’m doing wrong?
POST /message
{
"messageName": "Message_2ri81fq",
"processVariablesLocal": {
"x": {
"value": "aNewValue",
"type": "String"
}
}
}
response:
{
"type": "ProcessEngineException",
"message": "Unknown property used in expression: ${execution.setVariable(\"a2\", x)}. Cause: Cannot resolve identifier 'x'"
}
Process_test_variable.bpmn (6.3 KB)