Hello,
When I use POST /message for initiating a message event I get the following error:
Response code 500 (Internal Server Error): {"type":"ProcessEngineException","message":"Unknown property used in expression: ${S(body).prop(\"data\").prop(\"financingId\").value().toString()}. Cause: Cannot resolve identifier 'body'"}
The instance that it is trying to send the message to has failed during its execution, but it is a function error, not a Camunda error.
The task where the instance has failed creates the output parameter that the message says is with error:
Is there any condition that states that if the instance has failed in a task that has output params the message cannot be sent? Or am I doing something wrong? The only property that I’m sending in the request body, apart from the required, is “all: true”. The message is sent to a message start event that is inside a sub process
When the instance has not failed, the message is sent with no problem.
Thanks for your help.
