So now it worked…
I am not realy sure what i did wrong.
But it created a new BPMN like the old one. created a Script Task to convert the input String from the API
=> S(product) and the Sequence Flow got the expression:
${product.prop(“meta”).prop(“x”).numberValue()==2}
My Input (REST API POST) look like this:
{
“variables”:
{
“product”:
{
“value”:“{“meta”:{“category”:2}}”,“type”:“String”
}
}
}
No Exceptions and the right output by my workflow.
thanks for all your helpful suggestions 