[rules-users] Is globals to retrive facts after rules?
Edson Tirelli
tirelli at post.com
Thu Jan 24 06:48:38 EST 2008
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080124/bd358433/attachment.html
More information about the rules-users
mailing list