Personalización avanzada > Business Logic Customization > Business Rules > Loading Business Rule Objects > Process > Update Existing Business Rules
  
Update Existing Business Rules
Existing business rules can be optionally updated. Users can enable the ability to update existing rules by adding the updateIfExists attribute to the business rules load files they want to update and setting the value of the attribute to true. When the attribute is not found in the load file or the value is set to false, existing rules cannot be updated and an error shall occur if a user attempts to reload the load files. The attribute is not considered when loading the rules initially - non-existing business rules shall be loaded successfully.
* 
Because the key and a container forms the BusinessRule object uniqueness, both cannot be updated once created even if the ability to update existing rules is enable.
Here is an example on how to enable update
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleSet SYSTEM "standardX20.dtd">
<BusinessRule>
...
<updateIfExists>true</updateIfExists>
...
</BusinessRule>