Validating your state table

Before you can use your state table you must validate it to make sure that it is syntactically correct. The validation process checks labels, entry points, prompts, and parameters. If you do not validate a state table, the voice application will not execute.

Use the following procedure to validate your state table:

  1. From the Welcome window, click on Applications → State Tables.
  2. Select the state table and validate it: Open the state table you want to validate.
  3. Click the File menu to Validate the state table.

    The system displays the Validation Errors window to notify you of any errors. If the state table syntax is valid, the Validated field displays Yes.

  4. Correcting errors: To correct errors found by the validation process:
    • Either Select a state listed in the Validation Errors window for editing
    • Or, Close the Results window and select the state from the State Tables window. Then, click Edit to Modify the state definition.
  5. Revalidating : Keep correcting errors and revalidating until the state table is validated.
  6. Errors when saving: Save the state table.

    If the data used by any of the states you have defined for the state table exceeds 4K bytes, the system displays the Save Errors window.

  7. If the system displays the Save Errors windows, reduce the space used by the identified states. For example:
    • Use variables instead of constants for required parameters
    • Modify the state table logic
    • Make the prompts shorter

    Continue to Validate & Save the state table until all errors are resolved.

  8. Done: Close the State Table window.