<br>&nbsp;&nbsp; Do you mean:<br><br>rule &quot;There is at least one set of marbles&quot;<br>when<br>&nbsp;&nbsp; exists( Marble( color == &quot;red&quot; ) and<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Marble( color == &quot;blue&quot; ) and<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Marble( color == &quot;yellow&quot; ) <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; )<br>then<br>&nbsp;&nbsp; //&nbsp; there is at least one set of marbles<br>end<br>&nbsp;<br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><br><div class="gmail_quote">2008/5/27 Jayne &lt;<a href="mailto:jayne2520@gmail.com">jayne2520@gmail.com</a>&gt;:<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>&nbsp;&nbsp; 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>