<br> Barath,<br><br> It is possible to use globals for that. I do that often when doing unit tests and for simple results.<br> For more complex results, you may want to either use queries or even iterate through facts using an object class filter.
<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">2008/1/24, Barath <<a href="mailto:barathguna@gmail.com">barathguna@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi,<br><br>I used a list as global to retrieve all possible facts when applying the<br>rules.<br><br>Is this a good practice ?<br>If not how to get a bunch of facts that is true for my rules?<br><br>barath.<br>--<br>View this message in context:
<a href="http://www.nabble.com/Is-globals-to-retrive-facts-after-rules--tp15058438p15058438.html">http://www.nabble.com/Is-globals-to-retrive-facts-after-rules--tp15058438p15058438.html</a><br>Sent from the drools - user mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<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">
https://lists.jboss.org/mailman/listinfo/rules-users</a><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>