Invoking class-based validation

PolicyCenter does not automatically invoke class-based validation by virtue of the database commit cycle. Instead, you must explicitly invoke class-based validation in configuration code. (The PolicyCenter user interface framework automatically handles the rendering of all errors and warnings raised through exceptions.)

PolicyCenter runs full validation on the policy graph at critical points in the job processes, such as before a quote and before binding. (At any time, you can also invoke class-based validation from PCF files, job processes, wizard steps, workflow steps, integration plugins, and from any Gosu code.)

Use the following to invoke class-based validation from a particular PolicyCenter location:

Location

Use

Wizard step

The beforeSave property for that step

Pop-up

The beforeCommit property for that pop-up

The PolicyCenter user interface framework automatically handles the rendering of all errors and warnings raised through exceptions.