Vlad,
In 3.1M1 you can write:
rule X
when
not (
MyObject( aaa == bbb ) and
MyObject2( bbb == aaa )
)
then
// do something
end
But remember that variables bound inside the not block are not avaible
in the consequence for obvious reasons.
[]s
Edson
Olenin, Vladimir (MOH) wrote:
Hi,
I
')
then. In other worlds, all objects OTHER then those matching the
constraint?
Thanks.
Vlad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli
Sent: 20 February 2007 14:37
To: Rules Users List
Subject: Re: [rules-users] logical
February 2007 14:37
To: Rules Users List
Subject: Re: [rules-users] logical 'not' - is there such a construct?
Vlad,
In 3.1M1 you can write:
rule X
when
not (
MyObject( aaa == bbb ) and
MyObject2( bbb == aaa )
)
then
// do something
end
But remember that variables bound inside the not block
PROTECTED] On Behalf Of Edson Tirelli
Sent: 20 February 2007 16:30
To: Rules Users List
Subject: Re: [rules-users] logical 'not' - is there such a construct?
No, the not conditional element is an existential operator, so the
meaning is what you expressed in your first example. I thought