Thanks Wolfgang, ultimately better than what I wrote :)<br><br><div class="gmail_quote">2011/2/24 Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>></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 <<a href="mailto:sdinoo@gmail.com" target="_blank">sdinoo@gmail.com</a>> wrote:<br>><br>> lets say instead of =now() I am using a user-specified date(usd). I want to<br>
> calculate (usd - claimRequestDate) in the Condition something like <usd -<br>> ClaimREquestDate) > "$param"<br>><br>> I the data for that condition I want to put an integer say 65 - the rule<br>
> should fire when the condition is met<br>><br>> --<br>> 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>
> 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" target="_blank">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><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>