Actually I am appending the error in a collection in the party object itself.
So the rule is like this:
rule "041"
when
Party( $e : errors)
Party(partyType != null, partyType.trim() != "",
partyType not in ("MF", "SE", "BY",
"ST", "LG",
"CS", "CN"))
then
appendMessage($e, drools)
end
I have seven party in the session corresponding PartyType one of the seven
values of ("MF", "SE", "BY", "ST", "LG",
"CS", "CN")
I hope this helps.
--
View this message in context:
http://drools.46999.n3.nabble.com/Rules-Evalution-tp3602504p3604363.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.