The model validation feature enables you to capture validation errors of a model structure during the development phase and resolve them before building the model. Therefore, this feature provides real time error or warnings for the currently active configuration. The error representation process includes the following:
Model structure errors – Any changes in the model causes the error to be revalidated. If model structure errors exist, you can see the error in the Error List window during development phase. You are prompted to fix the errors before validating logic and starting the build. Refer to Model Structure Validation Rules for more information on different rules for specific platforms.
Note: The description of the warnings and errors appears in the dependency window.
Language validation errors – You can use the Logic Status tab to validate logic for all methods within System Modeler through the Build menu. Refer to Validating Logic for more information.
Following are the System Modeler functionalities available with this feature.
Synchronous errors or warnings in the current session – The model structure errors are displayed instantly during development phase if you violate any validation rules. Refer to Model Structure Validation Rules for more information on different rules for specific platforms.
Refresh and Multi-session – The model structure errors of a session are automatically displayed in another session after a refresh. For example, if you fix an error in a particular session, clicking Error from the Error list window for the same model in a different session displays a message box that the error no longer exists and is already fixed in another session.
Auto-receive errors after import – The model structure errors are displayed automatically when you import a model through Model Importer.
Model structure errors also available in Validation output – All model structure errors are also included in the Validation output window, which is also available during build.