[rules-users] Evaluation of the of rules with 'window:length' event windows

Wolfgang Laun wolfgang.laun at gmail.com
Wed May 16 07:44:08 EDT 2012


On 16/05/2012, Vincent LEGENDRE <vincent.legendre at eurodecision.com> wrote:
> Seems that there is a confusion here ...
>
> window:length(X) is constraining the events timestamps to be in a
> time-windows of length X (in seconds).

Definitely not. It's window:time that restricts by a time interval.

> @wolfgang : if you use an internal counter in the accumulate, how can you
> test it internaly ?

   accumulate( Whatever(...), $count: count(1), ... )
   eval( $count == X )

-W


More information about the rules-users mailing list