[rules-users] RE:Problem Using Update

Sikkandar Nawabjan Sikkandar.Nawabjan at ust-global.com
Mon Nov 26 06:25:01 EST 2007


 

Hi,

I have rule like this

rule "Update Id"

dialect "mvel"

salience 100000

no-loop true

when

     $add:Address(name=="india")

then

$add.setId("100");

update($add)

end

am getting the error org.drools.FactException: Update error: handle not found for object

and  Address <mailto:Address at 4b25933f> @4b25933f. Is it in the working memory?

what could be the problem? can't i use update??????

 

Thanks and Regs,

basha

 





 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4200 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20071126/de70d009/attachment.bin 


More information about the rules-users mailing list