<br> Do you mean:<br><br>rule "There is at least one set of marbles"<br>when<br> exists( Marble( color == "red" ) and<br> Marble( color == "blue" ) and<br> Marble( color == "yellow" ) <br>
)<br>then<br> // there is at least one set of marbles<br>end<br> <br> []s<br> Edson<br><br><br><div class="gmail_quote">2008/5/27 Jayne <<a href="mailto:jayne2520@gmail.com">jayne2520@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>Newbie terminology question: what do you call it when you want to assert the state of several objects in working memory?<br>
<br>Example: your working memory is full of marble objects. I know how to test each marble for color, but if there is a red marble, a blue marble and a yellow marble then I have enough marbles for a set. How can test the state of the working memory? Is this possible with Drools?<br>
<br>Thanks,<br> Jayne2520<br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>