DMN table groovy

hi ,

is it possible to pass XMLString in VariableMap like

VariableMap variables = Variables
.putValue(“ORDER.UNIT”, inputXML)

and evaluate using grooving in DMN table.
Tried new XmlSlurper().parseText(cellInput), but groovy does not identify cellInput.

My DMN table has Input and Output defined as Strings.

The Input variables are fetched from a tag value in XMLs. So it is possible using groovy to fetch the tag value directly instead of doing it from code.

@visumalladi could you use SPIN to parse your XML?

And then you use an Expression such as ${order.attr('unit').value()}.

I did something similar with: Pattern Review: DMN Looping for Array Input