This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |
| ref:glossary:initialization_rule [2026/08/13 00:43] – ↷ Page moved from glossary:initialization_rule to ref:glossary:initialization_rule localdev | ref:glossary:initialization_rule [2026/08/13 00:43] (current) – ↷ Links adapted because of a move operation localdev |
|---|
| ===== Initialization rule ===== | ===== Initialization rule ===== |
| |
| **//[[glossary:aware_im]]//** considers [[glossary:rule|rules]] with a certain pattern to be initialization rules. Here is an example of an initialization rule: | **//[[ref:glossary:aware_im]]//** considers [[ref:glossary:rule|rules]] with a certain pattern to be initialization rules. Here is an example of an initialization rule: |
| |
| <code aim>IF Order.State IS UNDEFINED THEN Order.State = 'New' </code> | <code aim>IF Order.State IS UNDEFINED THEN Order.State = 'New' </code> |
| |
| When a new [[glossary:business_object|business object]] is created in the [[glossary:operation_mode|operation mode]] the initialization rules are executed before the [[glossary:object_form|object form]] is displayed. Therefore, when the user sees the form for the new object its [[glossary:attribute|attributes]] are already initialized according to the rules. | When a new [[ref:glossary:business_object|business object]] is created in the [[ref:glossary:operation_mode|operation mode]] the initialization rules are executed before the [[ref:glossary:object_form|object form]] is displayed. Therefore, when the user sees the form for the new object its [[ref:glossary:attribute|attributes]] are already initialized according to the rules. |
| |
| //**Aware IM**// [[glossary:auto_generated_rule|automatically generates]] initialization rules to handle [[glossary:attribute_initial_value|initial values]] the [[glossary:configurator|configurator]] specifies for object attributes. | //**Aware IM**// [[ref:glossary:auto_generated_rule|automatically generates]] initialization rules to handle [[ref:glossary:attribute_initial_value|initial values]] the [[ref:glossary:configurator|configurator]] specifies for object attributes. |
| |
| |
| |