[rules-users] cross products in excel decision tables
Tom Eugelink
tbee at tbee.org
Thu Aug 2 10:27:38 EDT 2012
I need to model something similar to "when the lastname on a passport does not match the lastname on the application" in a decision table. Written in DRL:
rule "PassportValidation_24"
when
$a : Application()
$p : Passport(application == $a, lastName != $a.lastName)
then
$p.setError("Passport's last name (" + $p.getLastName() + ") does not match with application's last name (" + $a.getLastName() + ")");
end
How do I do such a cross referencing in an Excel decision table?
Tom
More information about the rules-users
mailing list