[rules-users] "or" not working

Yu Wang yuwarm at gmail.com
Fri Aug 8 10:38:32 EDT 2008


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.



More information about the rules-users mailing list