Hi,
some simple questions:
a) Is the Object included in the include statement ?
b) Is the Object inserted into the Working Memory ?
Do you have sample code, to show/reproduce the error ?
The mentioned JUnit Test should do the job.
thanks,
Darko Ivancan
On 26/11/2007 17:08, Mark Proctor
scenario.
From: [EMAIL PROTECTED] on behalf of Darko IVANCAN
Sent: Tue 11/27/2007 5:18 PM
To: Rules Users List
Subject: Re: [rules-users] RE:Problem Using Update
Hi,
some simple questions:
a) Is the Object included in the include statement ?
b) Is the Object inserted into the Working Memory
Sikkandar Nawabjan wrote:
Hi,
I have rule like this
rule Update Id
dialect mvel
salience 10
no-loop true
when
$add:Address(name==india)
then
$add.setId(100);
update($add)
end
That should work, its a fairly trivial use case, so I'm very surprised
it doesn't If you