Validation

When you save a Planning Engine Definition, the class definition, optimization definition, workflow definition, and variable name defined for the engine are validated to ensure that correct AP language text syntax is used. You can also validate the Planning Engine details using the Validate option.

The applicable error message is displayed for an invalid definition. These are the examples of the error message:

  • Invalid Planning Engine Definition {0}. Classes has invalid definition. Error: {1}.
  • Invalid Planning Engine Definition {0}. Optimization {1} has invalid definition. Error: {2}.
  • Invalid Planning Engine Definition {0}. Workflow {1} has invalid definition. Error: {2}.
  • Invalid Planning Engine Definition {0}. Query {1} has invalid definition. Error: {2}.
  • Invalid Planning Engine Definition {0}. Variable {1} has invalid name. Error: {2}. 

A validation successful message is displayed if all the definitions are valid.