DMN - Decision which should accept a json or java object as an input

Hi,

I do not find any good example about how to create DMN using expression in Camunda.
My requirement is - (I am using Camunda 8)

I want to create a Decision which should accept a json or java object as an input and I want to access the object attributes in DMN and check the object attribute values and based on the multiple attribute value availability I want to take the decision and will set the output value.

Any good example is available for this DMN requirement? Can I do this in Camunda DMN?

Thanks in Advance.
Sup

Hi @Supriyo,

Yes. In an expression, you can access variables or properties of an object by their names. See the docs: Variables | Camunda Platform 8 Docs.

For example, the process has a variable x with the value {"y": 3}. In the decision table, you can access the property using the expression x.y.

Does this help you?

If not, please share your concrete example for better help.

Best regards,
Philipp

@Philipp_Ossler Thanks for your help.