In DMN i would like to have output in boolean datatype , If none of rules matches can we default to false?

I created a DMN where output type is boolean …

In my case if my input value is Integer - either 37,38,39,57 it should return output as TRUE .

In case if the input value is not with above set i would have to have o/p FALSE.


Have a look at Hit Policy [1]. In particular, use the First hit policy and ensure the last rule is empty on all inputs and sets the output to false.




1 Like

thank you , solved my problem .