[rules-users] Collect with same value

wendy w.mungovan at yahoo.com
Wed Aug 10 11:20:41 EDT 2011


Hi,
  I'm trying to write the following rule but am having some trouble.  

  We have a object say Shape and which has attributes size and color.  I
want to get a list of all shapes with the same color that have size > 5. 
How can I make sure the color is the same for all objects in the collect
without having different rules for 'red', 'green'...? 

Thank you,
Wendy


--
View this message in context: http://drools.46999.n3.nabble.com/Collect-with-same-value-tp3242904p3242904.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list