Creating preupdate rules for custom entities
You can create preupdate rules for entities that you create—entities that are not part of the base Guidewire ContactManager configuration.
- The entity must implement the Validatable delegate with an implementsEntity element that has its Name set to Validatable.
- The preupdate and validation rule sets that you want the custom entity to trigger
must conform to the following naming convention:
- Put your preupdate rules in the Preupdate rule set category and name the rule set
entity-name
Preupdate. - Put your validation rules in the Validation rule set category and name the rule set
entity-name
ValidationRules.
You must create a rule set category with the same name as the extension entity and add the word Preupdate to it as a suffix. You then put your rules in this rule set.
For example, if you create an extension entity named NewEntityExt, you need to create a rule set to hold your preupdate rules and name it
NewEntityExtPreupdate. - Put your preupdate rules in the Preupdate rule set category and name the rule set
entity-name
See also
- For information on creating new rule sets, see Working with rules.
