Thanks Wendy, both solutions look great, I will try them. Thanks for your help. -- View this message in context: http://drools.46999.n3.nabble.com/accumulate-function-tp3353507p3356209.html Sent from the Drools: User forum mailing list archive at Nabble.com.