<br>&nbsp;&nbsp; Well, the goal of these approaches is a bit different. The accumulate function will give you the actual value of the minimum age, while the rule pattern approach will give you the Person whose age is the minimum age.<br>
<br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div class="gmail_quote">2008/12/10 Steven Williams <span dir="ltr">&lt;<a href="mailto:stevearoonie@gmail.com">stevearoonie@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yeah - that discussion was before drools had the accumulate function.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Dec 11, 2008 at 10:16 AM, Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com" target="_blank">greg_barton@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That approach looks a bit cartesian joiny. &nbsp;I&#39;d be interested in seeing how it compares to using accumulate.<br>


<br>
--- On Wed, 12/10/08, Steven Williams &lt;<a href="mailto:stevearoonie@gmail.com" target="_blank">stevearoonie@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: Steven Williams &lt;<a href="mailto:stevearoonie@gmail.com" target="_blank">stevearoonie@gmail.com</a>&gt;<br>
&gt; Subject: Re: [rules-users] drools query<br>
&gt; To: &quot;Rules Users List&quot; &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
&gt; Date: Wednesday, December 10, 2008, 4:59 PM<br>
<div><div></div><div>&gt; Have a look here<br>
&gt; <a href="http://www.jboss.org/community/docs/DOC-11909" target="_blank">http://www.jboss.org/community/docs/DOC-11909</a> (this is to<br>
&gt; find the max so just reverse it)<br>
&gt;<br>
&gt; cheers<br>
&gt; Steve<br>
&gt;<br>
&gt; On Thu, Dec 11, 2008 at 9:48 AM, tati-2<br>
&gt; &lt;<a href="mailto:tatyana.polnyi@jpmchase.com" target="_blank">tatyana.polnyi@jpmchase.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; How to extract min age of many objects of the same<br>
&gt; type &quot;People&quot; , which we<br>
&gt; &gt; inserted in the workspace ?<br>
&gt; &gt;<br>
&gt; &gt; Thank you very much in advance for help.<br>
&gt; &gt; --<br>
&gt; &gt; View this message in context:<br>
&gt; &gt;<br>
&gt; <a href="http://www.nabble.com/drools-query-tp20945811p20945811.html" target="_blank">http://www.nabble.com/drools-query-tp20945811p20945811.html</a><br>
&gt; &gt; Sent from the drools - user mailing list archive at<br>
&gt; Nabble.com.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Steven Williams<br>
&gt;<br>
&gt; Supervising Consultant<br>
&gt;<br>
&gt; Object Consulting<br>
&gt; Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br>
&gt; <a href="mailto:steven.williams@objectconsulting.com.au" target="_blank">steven.williams@objectconsulting.com.au</a><br>
&gt; <a href="http://www.objectconsulting.com.au" target="_blank">www.objectconsulting.com.au</a><br>
&gt;<br>
&gt; consulting | development | training | support<br>
&gt; our experience makes the difference<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Steven Williams<br><br>Supervising Consultant<br><br>Object Consulting<br>Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br><a href="mailto:steven.williams@objectconsulting.com.au" target="_blank">steven.williams@objectconsulting.com.au</a><br>

<a href="http://www.objectconsulting.com.au" target="_blank">www.objectconsulting.com.au</a><br><br>consulting | development | training | support<br>our experience makes the difference<br>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> &nbsp;Edson Tirelli<br> &nbsp;JBoss Drools Core Development<br> &nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>