Rule Set Rule Dependency

Parent element: Rule Set Rule

The Rule Dependency defines on which entity and field will the rule be dependent, that is if the value of this field is changed, the rule will be applied.

:warning: The rule engine is responsible for keeping the rule always valid (computed). The dependencies only help to execute the rules in the right order. But the calculation might be triggered even if dependency field wasn’t changed.

It can happen that sometimes the rule engine does not trigger the calculation. For example if your rule depends on @FieldX and you do not set the dependency on that field. When updating FieldX value, the rule will not be triggered. But that is a modeling issue. You should not depend on this behavior as the rule engine might be optimized in the future in such a way that it detects these dependencies for you and will trigger the calculation anyway.

Attributes

Entity Select an entity from the Data Structure that contains the wanted field.
Field Select a field that the rule will be dependent on.