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

Wolfgang Laun wolfgang.laun at gmail.com
Sat Apr 27 00:44:46 EDT 2013


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 at 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-constraints-not-working-correctly-tp4023518p4023575.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130427/d15a3d51/attachment.html 


More information about the rules-users mailing list