Number range check in DMN rules

Hi Guys, Wondering if DMN engine support number ranges. Currently, to check if an input falls between A & B, we are using an expression, please see the screenshot. Wondering if there is an elegant and simple solution involving squares (ex: “(A-B)” & “[A-B]”).

Thanks for your time!

screenshot

Hi,

Currently we don’t have built-in support for ranges.
We do have support for pluggable function delegates. That way you can map a Java bean to a JUEL expression.

F.e. #{ranges:isBetween(30, 60)}

For more info you can have a look here;

https://www.flowable.org/docs/userguide-dmn/index.html#_custom_flowable_function_delegates

and some of the built-in delegates;

Regards,

Yvo

I see what you mean. Thanks for your help @yvo