Adding the constraint
gender == "male"
prevents "females" from triggering the rule
Moreover, "exists" will cause the rule to activate only once,
as long as 1 or more males are assrted, regardless of how
many females.
This seems a very basic use case, largely documented
in the manual
Best
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/compare-attributes-form-similar-type-tp...
Sent from the Drools: User forum mailing list archive at
Nabble.com.