I have an input values like CAR,BIKE etc…, now if I pass these values I am getting correct output. But if I pass like car, bike etc… it is giving null output.
is there any way to handle case-sensitive in DMN?
Please share an example.
thank you for raising this up. The behavior is correct according to the DMN spec.
One solution is to transform the input value in the input expression into upper or lower case. Using Camunda > 7.13.0-alpha2, the input expression is JUEL by default and should be something like myInput.toUpperCase() (i.e. calling the string function on the given object).
Starting with 7.13.0-alpha2, the input expression is FEEL and you can have use the builtin-function upper case(myInput).
Regular Expression may be used to ignore case, this is the built in function matches(input, pattern, flags?)
It may be applied like this to match “BIKE”, “bike” or “Bike” matches(?, “bike”,“i”)