2011/8/19 Raf <r.ventag...@gmail.com>

> You must not add the parenthesis after *not.*


This is not correct. You may even *have *to use parentheses unless the
negated condition is a conjunction or disjunction. The omission of the
parentheses is tolerated when the argument is a single Pattern.
-W


> *
> *
> Try this:
>
> rule "Flag missing Foos with values"
> when
>     not Foo(stringProp=="blah", intProp==5)
> then
>    System.err.println("A proper foo does not exist");
> end
>
> Bye
> *Raf*
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to