When an attribute value is modified in a repository that has been configured for Change Notification, the Change Notification trigger is invoked, either directly or indirectly. A repository can only be configured to invoke one trigger. To configure a repository for Change Notification:
- If no trigger already exists for the repository, to configure Change Notification, Register the Change Notification Trigger with a Repository.
- If the repository has already been configured to invoke an existing trigger, Integrate a Change Notification Trigger with an Existing Trigger, by updating the existing trigger to call the Change Notification trigger as a final step before saving any updates to the changed record.
- Alternatively, you can invoke Change Notification through a presave validation rule.
Warning: Do not configure a repository to directly invoke more than one trigger
because it may cause multiple versions of records to be created each time an attribute
value is edited.