This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| glossary:validation_rules [2022/09/02 05:42] – ↷ Links adapted because of a move operation administrator | glossary:validation_rules [2023/05/09 02:26] (current) – sean |
|---|
| | {{tag>Index Glossary Validation_Rule Business_Rule Rule Business_Object Attribute}} |
| | ===== Validation rule ===== |
| | |
| | **//[[glossary:aware_im]]//** considers [[glossary:rule|rules]] with a certain pattern to be validation rules. Here is an example of a validation rule: |
| | |
| | <code aim>IF Customer.Name IS UNDEFINED THEN REPORT ERROR 'Customer name is empty' </code> |
| | |
| | //**Aware IM**// applies such rules when a user edits a [[glossary:business_object|business object]] on the [[glossary:object_form|object form]] and does not accept changes if the entered data is invalid. Also, //**Aware IM**// [[glossary:auto_generated_rule|automatically generates]] validation rules to handle conditions the [[glossary:configurator|configurator]] may specify for object attributes such as [[glossary:required_attribute|required attributes]] or [[glossary:attribute_value_range|range of values]]. |
| | |
| | |
| |