Re: [rules-users] Drools: how do I compare two fields in a Decision Table

2011-02-06 Thread Wolfgang Laun
One way: Risk transactionDate compare tD to... attachmentDate someOtherDate The "==" is added automatically. Leave the cell in the column empty to omit constraint for a rule. If you need a choice between this constraint and no constraint, you may use Risk transactionDate == attachmentDate /*$pa

[rules-users] Drools: how do I compare two fields in a Decision Table

2011-02-06 Thread David Smith
Hi, How do I compare two fields in a decision table e.g. transactionDate==attachmentDate I can create a rule that has a restriction using two fields such as rule "check if risk is active" when $risk : Risk(transactionDate==attachmentDate) then ... end I can do this using an eval stateme