Model validation

A model may be valid or invalid. An invalid model is a model that contains a number of design errors or warnings.

Invalid model

When a model contains errors:

  • You cannot deploy this model

  • You cannot close this model edition.

  • Applications from this model can no longer be accessed. This is frequent at design-time, as you deploy the model first, perform multiple changes while refreshing the application.

If you face issues with a model or an application, run a model validation to make sure that the model does not have new issues.

Validate a model

To validate the model:

  1. In the Model Design view, select the model node at the root of the tree. You can alternately select on entity to validate only this entity.

  2. Right-click and select Validate.

  3. If you have unsaved editors, select those to save when prompted.

  4. The validation process starts. At the end of the process, the list of issues (informations, errors and warnings) is displayed in the Validation Report view.

Validation report

In the validation report:

  • Double-click an issue to open the object causing this issue.

  • Right-click and select Validation Details to view the details of the selected issue.

  • Right-click and select Export Validation Report to export all the validations in a CSV file.

It is recommended to regularly run the validation on the model or on specific entities. Validation may guide you in the process of designing a model. You can perform regular validations to assess how complete the model really is, and you need to pass model validation before deploying or closing a model edition.