You can use accumulate or collect for that kind of things..
For events works in the same way that for facts.
2009/10/5 PF <paul.i.fodor(a)gmail.com>
Hi,
Does Drools Fusion provides any kind of aggregate functions over events
(count, sum, etc.) or these should be created as rules with intermediate
results exchanged through the database (inserted and delated facts)?
Regards,
Paul Fodor.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users