Hi All;
I was trying to use no-loop to avoid rule being triggered recursively.
However for following rule, when there are more than one one object of
type DataProduct, no-loop attribute has no effect.
rule "Collect"
no-loop true
when
q: Query();
buffer : java.util.Vector();
d: DataProduct();
then
q.addDataProduct(d);
update(q);
end
But on the other hand when there are only one object of type DataProduct
in the system, the no-loop works. Is this expected behavior or have I
uncovered a bug?
Thanks
Srinath
Show replies by date