[rules-users] window:length with variables as constraints not working correctly

Davide Sottara dsotty at gmail.com
Fri Apr 26 21:48:03 EDT 2013


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-constraints-not-working-correctly-tp4023518p4023575.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list