For example, I cannot use a Groovy script that calls S(var).jsonPath(...)... in the context of a output entry expression.
As the S function is available when using JUEL expressions, it should also be available in scripts.
Example table
<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/DMN/20151101/dmn.xsd" id="definitions" name="camunda" namespace="http://camunda.org/schema/1.0/dmn"> <decision id="testDecision" name="decision"> <decisionTable id="table"> <output id="result" name="result" > </output> <rule id="rule"> <outputEntry id="output1" expressionLanguage="groovy"> <text>S("{\"foo\":\"bar\"}").jsonPath("\$.foo").element().toString()</text> </outputEntry> </rule> </decisionTable> </decision> </definitions>