B: The rule will be fired if a condition is true. Behaviour: When a condition specified for any attribute (of the rule's business object type) is met, than the rule is triggered. This represents more of a 'status' rather than 'action' type of triggering because just the fact that the condition is 'true' is enough to trigger the rule. (Unlike trigger A where the condition must be met AND the 'trigger' attribute must be changed.) Consequently the rule will be triggered not only when an attribute change resulting in fulfilling the condition happens, but also e.g. when the editor is opened. For example, the rule says that attribute Y is displayed only when value of attribute X is higher than 100. Then the following two scenarios are possible with trigger type B in use:
Trigger B "cleans after itself": When the value of attribute X changes back to a non-triggering state, the changes caused by triggering the rule are reset, e.g. a dynamically displayed attribute is hidden again. Another important aspect is that unlike trigger A (and C) which happen only when the editor is opened, trigger B does not require the editor to be opened and the action (e.g. a calculation) happens whenever needed. This type of triggering is typically used for view and calculation rules. | |||||