In my ‘moveToNextTask’ intermediate catch event, I mapped an output parameter called ‘sampleParameter’ which I expect to be caught when a message is correlated for that catch event. I also have an event sub process with a message event called ‘cancelProcess’ which should interrupt the main process when correlated.
However, when I correlate the ‘cancelProcess’ message, I get the following error:
{
"type": "ProcessEngineException",
"message": "Unknown property used in expression: ${sampleParameter}. Cause: Cannot resolve identifier 'sampleParameter'"
}
I believe it shouldn’t try to resolve the ‘sampleParameter’ since I’m not trying to correlate the one (moveToNextTask) in the main process.
Has anyone encountered this? Hope to get some help.