Validation and error messages
Validation is performed when you execute the CreateCyclePeriod macro. If validation fails, the macro execution is aborted, and the related error message is displayed.
This table list the error messages displayed for various validation failures:
Validation Condition | Error Message |
---|---|
Check the specified cycle period does not already exist for this cycle (if specified by the user). | A cycle period with name {0} already exists in the cycle. |
Check the specified period does not already exist for this cycle. | Cannot create new cycle period for period {0}. A pending, completed or running cycle period already exists for this period in the cycle. |
If Cycle Period is not specified (is null) and Cycle.Next Period is not populated, the macro execution fails with an error. | Next Period could not be determined. |
Check the Cycle Period exists at the ‘Calendar Level to Store Values’ level for the Cycle. |
Period {0} cannot be found. Where {0} is the Cycle Period. |
If the previous period could not be found or is not a valid cycle period for selection (not a period, Status not Running or Completed), the macro execution fails with an error. | Previous Period {0} cannot be found. |
Where specified, check that the period exists. | Period label {0} cannot be found. |
If the setup checker or other blocking process is running and the specified time-out period is reached, the macro command fails with an error. |
Time out of {0} seconds was reached before completion of macro step. {1}. Where {0} = error reason for time out. |