Did you try using a custom accumulate function?<div>You must code it in java and use it in your rules easily.</div><div><br></div><div>Best,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>

- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2010/8/2 Baig, Kaleem <span dir="ltr">&lt;<a href="mailto:Kaleem.Baig@salliemae.com">Kaleem.Baig@salliemae.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-US" link="blue" vlink="purple">

<div>

<p>---------</p>

<p>There is a list of objects.</p>

<p>Each object has a property &quot;score&quot;.</p>

<p>We need to select three objects with the highest scores.</p>

<p> </p>

<p>How to create this rule in Guvnor (This would be easy in
Java, but we want no code in the rules)?</p>

<p> </p>

<p>Thank you!!!</p>

<p class="MsoNormal"> </p>

</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></div>