<br><a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesFindMax">http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesFindMax</a><br><br><div><span class="gmail_quote">2007/9/23, Brian Enderle &lt;<a href="mailto:brianke@gmail.com">
brianke@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have a rule that I only want to execute on the most current instance, where
<br>init_dt is closest to today.&nbsp;&nbsp;Anyone know of a way to do this?<br><br>For instance, I have a few objects with init_dt of Jan-12-2005, Feb-06-2005<br>and April-01-2005.&nbsp;&nbsp;I only want to execute the rule on the instance which has
<br>an init_dt of April-01-2005.&nbsp;&nbsp;Every object will have a valid init_dt in the<br>past (before today).<br><br>Thanks in advance,<br>Brian Enderle<br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div>
<br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">
www.jboss.com</a>