Entities that trigger preupdate rules
The following entities trigger preupdate rules in the ContactManager base configuration:
- ABContactContact
- ABContact
- Address
- PendingContactChange
For an entity to trigger the preupdate rules, it must implement the Validatable delegate. All entities that implement the Validatable delegate trigger the validation rules as well.
ContactManager runs the preupdate and validation rules if:
- An instance of a validatable entity is created, modified, removed, or retired.
- A subentity of a validatable entity is created, modified, removed, or retired, and the validatable entity is connected to the subentity through a triggersValidation="true" link.
Important: In running the preupdate
rule set, ContactManager first computes the set of objects on which to
run the preupdate rules. It then runs the rules on this set of objects.
If a preupdate rule modifies an entity, the preupdate rules for that
entity do not fire unless the schedule for preupdate rules already includes
this entity. In other words, changing an object in a preupdate rule does
not cause the preupdate rules to run on that object as well. Additionally,
creating a new entity in a preupdate rule does not cause the preupdate
rules to run on that entity.
