[rules-users] Execute only on most current instance

Edson Tirelli tirelli at post.com
Sun Sep 23 14:58:34 EDT 2007


http://wiki.jboss.org/wiki/Wiki.jsp?page=RulesFindMax

2007/9/23, Brian Enderle <brianke at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070923/f16e14ab/attachment.html 


More information about the rules-users mailing list