[rules-users] Problems with looping
thomas kukofka
thomaskukofka at web.de
Fri Aug 1 10:24:52 EDT 2008
Hello,
I have and less loop (the rule should only executed one for one InputObject)
in the follwing rule although I use "no-loop":
rule "rulename"
dialect "java"
no-loop
when
io: InputObject (type == InputObject.Type.Typename)
then
io.setStringPropertyValue(InputObject.PROPERTYVALUE, "somestring");
update(oo);
end
I've read that I have to overwrite hashcode and equals, can this be the
reason? If yes, do you have an example how to overwrite these methods?
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080801/a6053d6b/attachment.html
More information about the rules-users
mailing list