The desired effect might be easier to achieve with a fact EffectiveDate {
Date date; } and a pattern specifying the limits.
The rule attributes (not metadata) are based on the system data, and you
wouldn't want to mess with it just to use data-effective and date-expires.
-W
On 17 March 2011 00:33, Faisal Shafique <just_faisal(a)yahoo.com> wrote:
Hi,
Can I use any arbitrary date for the drools execution so that correct rules
are fired based on not current date but any arbitrary date? This is in the
context of @date-effective and @date-expires metadata that can be specified
as part of a rule. Drools expert documentation seems to imply that this
metadata uses "current date" though I am not clear what current date (system
date?) means.
Thanks
Faisal Shafique
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users