Is "now" a pseudo date\time or really the date\time when the pattern is evaluated?

If "now" is a pseudo date\time and can be inserted into WorkingMemory as a Fact then your rules are quite simple.

If however "now" is the date\time when the pattern is evaluated I think you're probably looking at using CEP (Fusion) which IIRC is not supported in the XLS Decision Tables (and definitely not in Guvnor's guided dtable).

With kind regards,

Mike

On 24 February 2011 07:52, sdinoo <sdinoo@gmail.com> wrote:

I am new to drools. I've searched in this forum as well as in the
documentation but I havent found any solution to the situation that I am
facing

I have a Claim object that has 1 date member variable called
claimRequestDate
I want to achieve a rule that if the claimRequestDate is 65 days old from
now then fire that rule
I want to achieve like if (now - claimRequestDate) > 65 then fire the rule
I want the "65" number to be in the rule data so that the business analyst
can change it at will

Has anyone tried this?
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2565936.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users