Validation and error messages

Validation is performed when you execute the AbortCyclePeriod macro. If the validation fails, the macro execution is stopped, and the related error message is reported in the audit log and job manager.

This table lists the error messages for various validation failures:

Validation Condition Error Message
If the specified cycle period or scenarios are unavailable (in processing) and the specified time out period reached, the macro command fails with an error.

Time out of {0} seconds was reached before completion of macro step. {1}.

Where {1} = error reason for time out.

If the specified cycle period has scenarios that are in an editable state and the specified time out period reached, the macro command fails with an error.

Time out of {0} seconds was reached before completion of macro step.

Cycle period {1} has one or more editable scenarios. Discard or save scenario changes for all scenarios before continuing.

If specified, check that the cycle period exists. Cycle period "{0}"-"{1}" cannot be found.
If the cycle period is not specified and the running cycle period does not exist for the specified cycle, an error occurs. Cycle "{0}" has no running cycle period
Abort is possible where the specified cycle period has status = Pending, Running or Paused. Cannot abort cycle period with name {0}, only pending, running and paused cycle periods can be aborted.