[rules-users] compare attributes form similar type

Davide Sottara dsotty at gmail.com
Fri Aug 16 17:04:01 EDT 2013


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-tp4025586p4025589.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list