It's not too difficult to achieve the effect of a length window using one
or two additional rules and an auxiliary fact type.
-W
On 27 April 2013 03:48, Davide Sottara <dsotty(a)gmail.com> wrote:
Unfortunately Drools does not support "join" constraints on
(length)
windows.
So, accountNumber == "123" is checked BEFORE counting the Events in the
window,
while accountNumber == $acc.number is checked AFTER the window has filtered
the last
- 5 in your case - events. I know that this is confusing, but I will make
sure that a feature
request is opened. In any case, I don't think that this behaviour will ever
be backported
to 5.3.x..
--
View this message in context:
http://drools.46999.n3.nabble.com/window-length-with-variables-as-constra...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users