You can't bind a variable to an eval.

    []s
    Edson

2007/10/24, Markus Helbig <mhelbig81@googlemail.com>:
Hi

rule
  when
    item : eval(Factory.getList().contains(id))
  then
end

resolves into

[10/24/07 17:50:55:636 CEST] 00000030 SystemErr     R
org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule
name=Rule1, agendaGroup=MAIN, salience=30, no-loop=false]
package/Rule_Rule1_0.java (13:756) : The method eval(boolean) is
undefined for the type Rule_Rule1_0

what does it mean?

Cheers

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



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