[rules-users] Rules with Lookup Tables...

Marcus Ilgner marcus.ilgner at gmail.com
Fri Mar 2 09:59:17 EST 2007


On 3/2/07, Francisco Brum <francisco.brum at link.pt> wrote:
>
> I also need to make a rule with a lookup tables, and I have found that the new version of rules support 'from'.

Another solution could be the the use of globals:
http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.5/html_single/index.html#d0e719

You could insert a global "PartnerList" and a global
"PortLocationList" and evaluate on these.
It somewhat depends on your situation: using "FROM" is definitely more
powerful, globals are quicker to implement because you probably have
this List object laying around already.

Best regards
Marcus



More information about the rules-users mailing list