This shows you the differences between two versions of the page.
| |
| docs:7000_glossary:initialization_rule [2022/09/01 06:21] – created - external edit 127.0.0.1 | docs:7000_glossary:initialization_rule [2022/09/02 05:41] (current) – ↷ Page moved from docs:7000_glossary:initialization_rule to 7000_glossary:initialization_rule administrator |
|---|
| ===== Initialization rule ===== | |
| |
| **//[[docs:7000_glossary:aware_im]]//** considers [[docs:7000_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 [[docs:7000_glossary:business_object|business object]] is created in the [[docs:7000_glossary:operation_mode|operation mode]] the initialization rules are executed before the [[docs:7000_glossary:object_form|object form]] is displayed. Therefore, when the user sees the form for the new object its [[docs:7000_glossary:attribute|attributes]] are already initialized according to the rules. | |
| |
| //**Aware IM**// [[docs:7000_glossary:auto_generated_rule|automatically generates]] initialization rules to handle [[docs:7000_glossary:attribute_initial_value|initial values]] the [[docs:7000_glossary:configurator|configurator]] specifies for object attributes. | |
| |
| |
| |