-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.44.0.Final
-
None
-
-
Workaround Exists
-
-
NEW
-
NEW
-
---
-
---
When using the Drools executable model (pre-compiled) to execute an expression of a Date being between two other Dates like "DateHolder( date < $runDate && date >
$monthBeforeRunDate)", the related rule does not fire when the date value is actually between the two Date constants.
Switching the order of the greater or less than statements does not fix the issue. Using inclusive between (<= and >=) does not solve the issue for date field values (non-inclusively) between the dates.
However if the expression is changed to "DateHolder( date < $runDate && > $monthBeforeRunDate)" it does fire as expected.
I have not checked to see if this issue effects other data types like long or int.
Also when using the DRL files directly (by adding the DRL files directly to KnowledgeBuilder) in the drools engine, this issue does not occur.