It was suggested to have the usd as a fact. You could write<br><br>    UserParams( $usd: usd )<br>    Claim( claimRequestDate before[65d] $usd )<br><br>This is easy to parameterize in a spreadsheet.<br><br>The data for the UserParams fact could be defined in a special cell in the spreadsheet. A high-salience rule could be dedicated to its creation and insertion.<br>
<br>-W<br>
<br><br>On 24 February 2011 12:08, sdinoo &lt;<a href="mailto:sdinoo@gmail.com" target="_blank">sdinoo@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; lets say instead of =now() I am using a user-specified date(usd). I want to<br>

&gt; calculate (usd - claimRequestDate) in the Condition something like &lt;usd -<br>&gt; ClaimREquestDate) &gt; &quot;$param&quot;<br>&gt;<br>&gt; I the data for that condition I want to put an integer say 65 - the rule<br>

&gt; should fire when the condition is met<br>&gt;<br>&gt; --<br>&gt; View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2566732.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2566732.html</a><br>

&gt; Sent from the Drools - User mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>

&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>&gt;<br><br>