JavaScript for DMN input expression results in DMN-01002 Exception language ECMAScript

Hi @tpelzer,

the script doesn’t work, because you don’t have access to the execution in DMN.

By default, the input expression is evaluated as JUEL expression. An equivalent JUEL expression would look like:

empty DriverCode ? DriverCode : ""

However, you can also deal with null inside the decision. See the related post for details:

Best regards,
Philipp

1 Like