It was suggested to have the usd as a fact. You could write

    UserParams( $usd: usd )
    Claim( claimRequestDate before[65d] $usd )

This is easy to parameterize in a spreadsheet.

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.

-W


On 24 February 2011 12:08, sdinoo <[email protected]> wrote:
>
> lets say instead of =now() I am using a user-specified date(usd). I want
to
> calculate (usd - claimRequestDate) in the Condition something like <usd -
> ClaimREquestDate) > "$param"
>
> I the data for that condition I want to put an integer say 65 - the rule
> should fire when the condition is met
>
> --
> View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Date-Condition-in-Decision-tables-tp2565936p2566732.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to