Hi,<br><br>&nbsp; Is there a way to query for an object of type X among a pool of objects of type X in working memory that have the maximum/minimum value&nbsp; of a particular attribute&nbsp; a1 ?<br><br>For example<br><br>if I have a class C<br>
<br>Class C {<br><br>int a1;<br>int a2;<br><br>}<br><br>As part of my rules evaluataion I have N instances of C inserted into working memory&nbsp; c1,c2.....cn.&nbsp; Now I would like to query for the object that the max value of attribute a1<br>
<br>Is this possible?<br><br>Thanks<br>Jai <br>