Is &quot;now&quot; a pseudo date\time or really the date\time when the pattern is evaluated?<br><br>If &quot;now&quot; is a pseudo date\time and can be inserted into WorkingMemory as a Fact then your rules are quite simple.<br>
<br>If however &quot;now&quot; is the date\time when the pattern is evaluated I think you&#39;re probably looking at using CEP (Fusion) which IIRC is not supported in the XLS Decision Tables (and definitely not in Guvnor&#39;s guided dtable).<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 24 February 2011 07:52, sdinoo <span dir="ltr">&lt;<a href="mailto:sdinoo@gmail.com">sdinoo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I am new to drools. I&#39;ve searched in this forum as well as in the<br>
documentation but I havent found any solution to the situation that I am<br>
facing<br>
<br>
I have a Claim object that has 1 date member variable called<br>
claimRequestDate<br>
I want to achieve a rule that if the claimRequestDate is 65 days old from<br>
now then fire that rule<br>
I want to achieve like if (now - claimRequestDate) &gt; 65 then fire the rule<br>
I want the &quot;65&quot; number to be in the rule data so that the business analyst<br>
can change it at will<br>
<br>
Has anyone tried this?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2565936.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2565936.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>