>On 16/05/2012, Vincent LEGENDRE <vincent.legen...@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.
oups ... Should have checked before ... sorry. So window:length(X) take only a max of X previous events (so including from 0 to X, which the problem here) >> @wolfgang : if you use an internal counter in the accumulate, how can you >> test it internaly ? > > accumulate( Whatever(...), $count: count(1), ... ) > eval( $count == X ) strange construction ... "$count: count(1)" is part of the pattern ? then automatically incremented in $count variable ? Does the accumulate still return a List or something else ? _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users