Form pattern validation

When you click the Update button to save changes to a form, the page calls the static FormPatternValidation.validateFormPattern method, which performs several consistency checks. If there are no problems with the form, PolicyCenter saves your changes. Otherwise, PolicyCenter displays warning messages and does not save your changes.

You can validate all form patterns by selecting Actions > Check policy form patterns for errors. This action can be useful when making changes to one form pattern that may affect other form patterns. An example of a change to one form pattern is deleting an existing removal endorsement from a test environment.

The FormPatternValidation class has the @Export annotation, so you can modify the validations as necessary.