Thanks Wolfgang, ultimately better than what I wrote :)<br><br><div class="gmail_quote">2011/2/24 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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>
<font color="#888888">
<br>-W</font><div><div></div><div class="h5"><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>
</div></div><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>
<br></blockquote></div><br>