Use a similar pattern as the one you have for the average but
computing the sum, or min, or max or average or any other accumulate
function.
-W
On 26/09/2012, thano <asimoon(a)gmail.com> wrote:
Thanks for your reply Laune.
I understand that it is not very clear but for me this is a starting point
which I have to extend over a period of time. You example is great. How
about if i have to analyse the events received in the last one hour . which
is then compared to a threshold value. How could this be define in rules
thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Pattern-Example-tp4019946p4019966.html
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