{{tag>Index Glossary Validation_Rule Business_Rule Rule Business_Object Attribute}} ===== Validation rule ===== **//[[ref:glossary:aware_im]]//** considers [[ref: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 [[ref:glossary:business_object|business object]] on the [[ref:glossary:object_form|object form]] and does not accept changes if the entered data is invalid. Also, //**Aware IM**// [[ref:glossary:auto_generated_rule|automatically generates]] validation rules to handle conditions the [[ref:glossary:configurator|configurator]] may specify for object attributes such as [[ref:glossary:required_attribute|required attributes]] or [[ref:glossary:attribute_value_range|range of values]].