{{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: IF Customer.Name IS UNDEFINED THEN REPORT ERROR 'Customer name is empty' //**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]].