Decision Table files can be validated by using any of the following methods:
Using the Validate icon: Click the Validate icon to validate the Decision table. This icon is located near the New icon below the File menu. The errors and warnings in the Decision Table are displayed in the Problems View tab below the Decision Table editor.
Using the Validate Rules link: Click this link to validate the Decision Table. Refer to 10.5 Validating Decision Table Rules for more information about Validate Rules link. The Test Decision Tables dialog box is displayed in which the Decision Table can be validated.
Saving the Decision Table: Click Save or Save As from File menu. In this scenario, validation of the Decision Table is done before saving it. If the Decision Table file is valid; it is saved. If it is not valid then an error message "Decision Table file is not valid. Would you like to save it anyway?" is displayed. If you click Yes on the error message dialog, the Decision Table is saved with errors and warnings and they are displayed in the Problems View tab. If you click No, the Problems View tab is restored to its earlier state, that is, the state before saving the Decision Table and the file is not saved. If you click Details, the errors and warnings in the Decision Table are displayed below the error message.
Closing the Decision Table: Click Close to close the Decision Table. If you modify the Decision Table and do not save the changes before closing it, the Save Resource dialog is displayed with a message "<Decision Table Name> has been modified. Save changes?". If you click Yes on the dialog, an error message "Decision Table file is not valid. Would you like to save it anyway?" is displayed if the Decision Table is not valid. All the three options on this dialog have been explained in Saving the Decision Table above. If you click No on the Save Resource dialog, the file is not saved and closed immediately. If you click Cancel on it, the Decision Table is neither saved nor closed.
The errors and warnings are displayed in the Problems View tab. Double clicking on the error row selects the area in the Decision Table editor where the error has occurred. The error can be corrected in this view. Refer to 2.2.10 Problems View for more information about the Problems View. The figure below displays the Problems View and the errors and warnings in the Decision Table.