In my table I enter the following FEEL expression to evaluate variable from my JSON: JSON(customer).prop("age").numberValue()
The problem is that I can only output objects of type string,boolean..., but not json and I would like to re-use my DMN JSON input and forward it directly as a JSON without touching it. In other words,
how to pass an input to an output in the DMN?
the output is not limited to the primitive types. In the Camunda modeler, you can just write some type in the field (e.g. json) instead of selecting one from the list. See more details in the docs.
So, in the output, you can reference your JSON variable directly or providing an expression.
Thanks for your reply, great to see that it’s possible to define another type in the table. However, I don’t know how to clearly reference my input variable as an output in the table, I tried:
But I receive the following message in Postman: "message": "Cannot instantiate process definition process_test:2:41ce1cf7-f63f-11e9-92e3-50eb7136ed6c: Cannot serialize object in variable 'decisionResult': org.camunda.spin.impl.json.jackson.JacksonJsonNode"
Any idea how to properly reference my JSON variable?