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
glossary:initialization_rule [2022/09/02 05:43] – ↷ Links adapted because of a move operation administratorglossary:initialization_rule [2023/05/09 01:52] (current) sean
Line 1: Line 1:
 +{{tag>Index Glossary Initialisation_Rule Business_Object Business_Rule Attribute}}
 +===== 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:
 +
 +<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.
 +
 +//**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.
 +
 +