[rules-users] "or" not working

Mark Proctor mproctor at codehaus.org
Fri Aug 8 10:58:24 EDT 2008


You will need to give more details than what you are doing like the 
actual syntax of your rule. It looks like you are using a DSL, I would 
suggest you look at the actual DRL that DSL is outputting, then if you 
still have problems send that to the mailing list.

Mark
Yu Wang wrote:
> Hi, I need help in making the "or" work. I have the following rule:
>
>
> rule
> when
> (
> or
>          Condition_clause_1
>          Condition_clause_2
> )
> then
>         Consequence_clause_1
> end
>
> -------------
>
> It gives me the following compilation error:
>
> org.drools.rule.InvalidRulePackage: [4] Unable to expand: (  [5]
> Unable to expand: or    [8] Unable to expand: )
>
> Seems it doesn't recognize "(", "or", and ")". But I totally follow
> the documentation on section 6.5.2.3 of version 4.0.7.
>
>
> Any help is highly appreciated.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   




More information about the rules-users mailing list