DMN String output with prefix "0000"

I set up a decision table with a string output. the output is a key formatted something like ‘00003455’.
When i try to get my output variable from the DecisionResult the four 0 are trimmed.
Is this the standard behavior? Bug or Feature?

Hi @silb78,

it depends on the type of the output. If it’s a number then this is common behavior. Instead, you can use a String (i.e. “00003455”).

Does this help you?

Best regards,
Philipp

1 Like