<font size=2 face="sans-serif">Check out the forall conditional element:
</font><a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e4632"><font size=3 color=blue><u>http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e4632</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">Good luck!</font>
<br><font size=2 face="sans-serif">Steve</font>
<br>
<br><tt><font size=2>rules-users-bounces@lists.jboss.org wrote on 02/24/2011
09:45:16 AM:<br>
<br>
&gt; From:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &quot;Petr Chelčický&quot; &lt;petr.chelcicky@centrum.cz&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; To:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &lt;rules-users@lists.jboss.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Date:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 02/24/2011 09:49 AM</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Subject:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; [rules-users] Check all elements of a list (Drools Expert)</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Sent by:</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; rules-users-bounces@lists.jboss.org</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; <br>
&gt; Hi! I'm trying to write rules in Drools Expert. In the when part of
<br>
&gt; the rule, I check some properties of an Application object. This <br>
&gt; object contains a List and I would like to check if a bunch of rules<br>
&gt; apply to all objects of SomeOtherType in this list. The rule should
<br>
&gt; fire only when the constraints are valid for ALL objects in that <br>
&gt; list. How could this be done?<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; rules-users@lists.jboss.org<br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>