http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesFindMax
2007/9/23, Brian Enderle <brianke(a)gmail.com>:
I have a rule that I only want to execute on the most current instance,
where
init_dt is closest to today. Anyone know of a way to do this?
For instance, I have a few objects with init_dt of Jan-12-2005,
Feb-06-2005
and April-01-2005. I only want to execute the rule on the instance which
has
an init_dt of April-01-2005. Every object will have a valid init_dt in
the
past (before today).
Thanks in advance,
Brian Enderle
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com