Sotty,
You want to be careful with applying De Morgan's laws indiscriminately
when terms aren't plain boolean expressions.
Even the simpler
Foo( a != x ) and Foo( b != y )
is not equivalent to
Foo( a != x && b != y )
-W
On 14/06/2012, Davide Sottara <dsotty(a)gmail.com> wrote:
Are the two conditions constraints inside the same pattern or two
different
patterns?
In the former case, DeMorgan's laws also apply:
( a != "x") || ( b != "y" )
and you should anyway be able to use free-form boolean expressions inside a
pattern,
provided that you use one of the latest versions.
Otherwise (two patterns), see the previous posts.
Best,
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/not-operation-available-in-drools-tp401...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users