Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
2500_config_apps:0800_add_edit_rules:0400_rule_properties [2022/08/22 01:14] – ↷ Links adapted because of a move operation administrator2500_config_apps:0800_add_edit_rules:0400_rule_properties [2026/08/13 00:55] (current) – ↷ Links adapted because of a move operation localdev
Line 18: Line 18:
 ===== Priority ===== ===== Priority =====
      
-The rule priorities are described in details in the [[2000_concepts:0800_data_processing:0100_rule_evaluation:0700_evaluation_unorder_rule_collections:0500_rule_priorities|Rule Priorities]] section. By default //**Aware IM**// will assign a priority to the rule based on the rule actions. Actions that modify attributes will have the highest priority whereas actions that call pre-defined operations (such as ''[[3100_actions:0170_find|FIND]]'', ''[[3100_actions:0130_send|SEND]]'' etc) will have lower priority while actions that initialise documents from templates will have the lowest priority. You can set rule priority explicitly and override automatic detection of priorities. +The rule priorities are described in details in the [[2000_concepts:0800_data_processing:0100_rule_evaluation:0700_evaluation_unorder_rule_collections:0500_rule_priorities|Rule Priorities]] section. By default //**AwareIM**// will assign a priority to the rule based on the rule actions. Actions that modify attributes will have the highest priority whereas actions that call pre-defined operations (such as ''[[ref:a_f:a:find|FIND]]'', ''[[ref:a_f:a:send|SEND]]'' etc) will have lower priority while actions that initialise documents from templates will have the lowest priority. You can set rule priority explicitly and override automatic detection of priorities. 
  
 ===== While loop ===== ===== While loop =====
Line 26: Line 26:
 ===== Form initialiazation ===== ===== Form initialiazation =====
  
-Initialization rules are explained in detail in the [[2000_concepts:0800_data_processing:0100_rule_evaluation:0900_initialization_rules|Initialization Rules]] section. Basically when the user creates an instance of a business object the appropriate form of the business object is displayed. The form is initialized with values calculated after evaluation of certain rules attached to the business object. Only initialization rules are evaluated. You can get //**Aware IM**// to automatically determine which rules are considered to be initializtion rules by selecting the “Automatic” option (default) or you can explicitly indicate whether the rule should be evaluated during form initialization or not. +Initialization rules are explained in detail in the [[2000_concepts:0800_data_processing:0100_rule_evaluation:0900_initialization_rules|Initialization Rules]] section. Basically when the user creates an instance of a business object the appropriate form of the business object is displayed. The form is initialized with values calculated after evaluation of certain rules attached to the business object. Only initialization rules are evaluated. You can get //**AwareIM**// to automatically determine which rules are considered to be initializtion rules by selecting the “Automatic” option (default) or you can explicitly indicate whether the rule should be evaluated during form initialization or not. 
  
 Note that these options are only available for rules attached to a business object. Note that these options are only available for rules attached to a business object.
Line 32: Line 32:
 ===== Dynamic ===== ===== 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”, so that //**Aware IM**// executes this rule dynamically while the form is being changed.+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”, so that //**AwareIM**// executes this rule dynamically while the form is being changed.
  
 ===== Do not run on server ===== ===== Do not run on server =====
Line 44: Line 44:
 **Rule Filter Dialog** **Rule Filter Dialog**
  
-To invoke the Rule Filter dialog where you can specify which rules will be shown click on the {{:documentation:icons:icon_search.png?nolink&20}} icon in the toolbar at the top of the table.The following options can be specified:+To invoke the Rule Filter dialog where you can specify which rules will be shown click on the {{docs:icons:icon_search.png?nolink&20}} icon in the toolbar at the top of the table.The following options can be specified:
  
 ===== Rule name ===== ===== Rule name =====
Line 56: Line 56:
 ===== Show auto-generated rules ===== ===== 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:0700_add_edit_attributes:0000_start|Adding/Editing Attributes]]) the Configuration Tool may generate certain rules behind the scenes. Rules are automatically generated when:+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:0700_add_edit_attributes|Adding/Editing Attributes]]) the Configuration Tool may generate certain rules behind the scenes. Rules are automatically generated when:
  
   * An attribute has an initial value.   * An attribute has an initial value.