On 20/06/2013, abasile <alex.basile(a)interactivedata.com> wrote:
2.) Refraction - rules are looping
Rule that listens for a property on an object also changes that property is
being fired indefinitely
ie:) Rule 1 - when obj.a Then modify (obj.a)
My understanding is that the rule shouldn't fire again unless the fact
(object's property) is modified. Maybe my assumption is wrong and the fact
refers to the object and not a property of the object. In that case, what's
the recommended solution?
This is to be expected and has nothing to do with "property reactive" or not.
As a countermeasure, you may
(.) add rule attribute no-loop
(.) use a constraint such as a != x when the rule modifies by setA(x).
-W