Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 2500_config_apps:0800_add_edit_rules:0400_rule_properties [2026/08/13 00:55] – removed - external edit (Unknown date) 127.0.0.1 | 2500_config_apps:0800_add_edit_rules:0400_rule_properties [2026/08/13 00:55] (current) – ↷ Links adapted because of a move operation localdev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [< | ||
| + | ====== Rule Properties ====== | ||
| + | The following properties can be specified in the Selection Properties window: | ||
| + | |||
| + | ===== Name ===== | ||
| + | | ||
| + | This is the mandatory name of the rule. Any identifier is allowed. | ||
| + | |||
| + | ===== Description ===== | ||
| + | | ||
| + | This is the description of the rule. Providing a description is highly recommended. Any description if defined is included into the generated documentation for the business space version – see [[2500_config_apps: | ||
| + | |||
| + | ===== Enabled ===== | ||
| + | | ||
| + | Ticking this checkbox will enable or disable a rule. When the rule is disabled it does not participate in the evaluation of rules by the Rule Engine. | ||
| + | |||
| + | ===== Priority ===== | ||
| + | | ||
| + | The rule priorities are described in details in the [[2000_concepts: | ||
| + | |||
| + | ===== While loop ===== | ||
| + | |||
| + | The rules supporting the semantics of a “while” statement are explained in detail in the [[2000_concepts: | ||
| + | |||
| + | ===== Form initialiazation ===== | ||
| + | |||
| + | Initialization rules are explained in detail in the [[2000_concepts: | ||
| + | |||
| + | Note that these options are only available for rules attached to a business object. | ||
| + | |||
| + | ===== Dynamic ===== | ||
| + | |||
| + | Sometimes it may be necessary to dynamically re-calculate attribute values on forms while the user is making changes. For example, you may have a calculation rule that calculates value of an attribute based on values of other attributes and you want the user to see the results of re-calculation immediately after he makes a change that affects the calculation. In this case it is necessary to mark the rule that performs the calculation as “dynamic”, | ||
| + | |||
| + | ===== Do not run on server ===== | ||
| + | | ||
| + | If you mark the rule as “dynamic” it will be executed both when form is recalculated and on the server. Sometimes it may be necessary to execute rule only when form is recalculated and do not execute it on the server. The typical scenario when this may be necessary is when you want to initialize some attribute with a value after the user makes a selection in a drop down. But at the same time you want the user to be able to override the initial value if necessary. The rule that initializes the value based on some other attribute has to be dynamic and for the user to be able to override the initial value you need to make sure that the rule doesn’t run on the server | ||
| + | |||
| + | ===== Don’t check referred ===== | ||
| + | |||
| + | This checkbox controls whether the rule will be recognized as a cross-reference rule. See [[2000_concepts: | ||
| + | |||
| + | **Rule Filter Dialog** | ||
| + | |||
| + | To invoke the Rule Filter dialog where you can specify which rules will be shown click on the {{docs: | ||
| + | |||
| + | ===== Rule name ===== | ||
| + | | ||
| + | Select this option if you want to view only rules that have the specified text in their names. You must also provide the text to filter by, whether you want the search for the names to be case sensitive and whether you want to match rules with the names exactly equal to the specified text or containing the specified text. | ||
| + | |||
| + | ===== Rule text ===== | ||
| + | | ||
| + | Select this option if you want to view only rules that have the specified text anywhere in their textual expression. You must also provide the text to filter by, whether you want the search for this text to be case sensitive and whether you want to match rules with textual expressions exactly equal to the specified text or containing the specified text. | ||
| + | |||
| + | ===== Show auto-generated rules ===== | ||
| + | | ||
| + | Select this option if you want to view rules generated by the Configuration Tool automatically. When you define attributes of business objects and notifications (see [[2500_config_apps: | ||
| + | |||
| + | * An attribute has an initial value. | ||
| + | * An attribute has choices. | ||
| + | * The “Value must be provided” option for an attribute is turned on. | ||
| + | * An attribute is “calculated”. | ||
| + | * An attribute has upper or lower limits. | ||
| + | ===== Show rule priorities ===== | ||
| + | | ||
| + | Select this option if you want the table of rules to have a special column that shows rule priorities | ||
| + | |||
| + | ===== Show dynamic rules ===== | ||
| + | | ||
| + | Select this option if you want the table of rules to have a special column that shows whether the rule is “dynamic” – see the “Dynamic” property above. | ||