Using "Not in" in drools decision table -
how use "not in" range of values in drools decision table?
example, i've method called hmt_homeinfo.get("hm").value
, values
368.00-368.99, v72.0-v72.9, 369.00-369.99, 366-367.99, 7430-743.99.
if $v
variable bound value need test, then
! ("368.00" <= $v && $v <= "368.99" || "v72.0" <= $v && $v <= "v72.9" || ... "743.00 <= $v && $v <= "743.99" )
is expression returns true if $v
not in 1 of these intervals.
be advised these comparisons use string comparison, may or may not return expect when these strings contain looks number.
Comments
Post a Comment