this blog post may be of use

On Wed, Nov 26, 2008 at 9:08 PM, techy <> wrote:

though I referred other thread about this topic, I'm not successful to make a
dao call.
I beg your pardon to ask again.

1. I want to pass the fact object to the dao function which returns boolean.
I tried following rule and getting "
Unexpected token '$fact'" as eclipse compilation error. Please guide with
right syntax.
global RuleDAO dao;

rule "test DAO call"
 $fact : Fact(some condition)
 fact : Fact(dao.isValid($fact))
#do something

2. Will be there any performance issue for above kind of rule?


View this message in context:
Sent from the drools - user mailing list archive at

rules-users mailing list