[rules-users] Same rules applies twice
J-C Walmetz
jc7442 at yahoo.fr
Mon Nov 8 04:44:08 EST 2010
Hi
I use Drools 5.01
I have the following rules:
rule "Reload test" salience 10000
when
$result: Result( $resultId:resultId)
not (exists Test(resultId.technicalId==$resultId.technicalId))
then
Test test = createTest($resultId);
insert(test);
end
When I insert two results with the same identifier, rules is applyed 2 times.
One for each result. I do not understand why.
Do you have an idea of what's happen and how to guratantee that myl rules will
not be applied twice. Here order is not important ...
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101108/12fa4e76/attachment.html
More information about the rules-users
mailing list