[rules-users] again eval

Edson Tirelli tirelli at post.com
Wed Oct 24 15:25:42 EDT 2007


    You can't bind a variable to an eval.

    []s
    Edson

2007/10/24, Markus Helbig <mhelbig81 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071024/5fb69d83/attachment.html 


More information about the rules-users mailing list