Barath,

    It is possible to use globals for that. I do that often when doing unit tests and for simple results.
    For more complex results, you may want to either use queries or even iterate through facts using an object class filter.

    []s
    Edson

2008/1/24, Barath <barathguna@gmail.com>:

Hi,

I used a list as global to retrieve all possible facts when applying the
rules.

Is this a good practice ?
If not how to get a bunch of facts that is true for my rules?

barath.
--
View this message in context: http://www.nabble.com/Is-globals-to-retrive-facts-after-rules--tp15058438p15058438.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  JBoss Drools Core Development
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com