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 <<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>