Thomas,
Everytime you update a fact in the WM, it is matched against all
the rules. An activation is created for all such matching
cases.
In
your example whenever the fact is updated in Rule 2, two activations are
created, one for Rule 1 and one for Rule 2. Rule 2 doesn't get fired
because of no-loop clause.
A
similar senario occurs when the fact is update in Rule1.
You
may avoid looping by not updating the fact in the WM.
Pallav
Hello,
I have an urgent problem with a rule that still
loops.
I have attached a simplified self-containded example of the problem.
The example uses a generic fact object and lazy initialisation of the output
fact, the output fact(s) generated by the attached rule should be able to be
used by another rules (which I haven't attached) as input fact.
I really
would appreciate any solution.
Regards
Thomas