Validation and error messages
This table lists the Cycle Period and scenario status and the related validation
messages:
Cycle Period Status | Scenario Status | Can Execute? | Validation Message |
---|---|---|---|
Pending | N/A | No | Cannot run macro {0} because Cycle Period has status "Pending". |
Running | Any | Yes | N/A |
Paused | Any | No | Cannot run macro {0} because Cycle Period has status "Paused" |
Completed | Any | Yes | N/A |
Aborted | Any | Yes | N/A |
Archived | Any | No | Cannot run macro {0} because Cycle Period has status "Archived”. |
Validation is performed when you execute the EmailWorksheet macro. If validation fails, the macro is aborted, and the related error message is displayed.
This table lists the error messages displayed for various validation failures:
Validation Condition | Error Message |
---|---|
Ensure that the worksheet is valid for the current user and module. | worksheet {0} is not enabled for module {1} or user {2}. |
Adding a worksheet screen capture is only supported for standard
worksheets. Multi-panel worksheets are not yet supported. |
Invalid parameter value {0}. Worksheet is not of Type = Standard. |
Ensure that the export type corresponds to the available formats. | Invalid parameter value {0}. Export type must be PDF or XLS. |
Ensure that the specified user is valid and has a valid email address. | user {0} cannot be found. |
Ensure that the specified user has access rights to the required worksheet. | User {0} does not have access rights to worksheet {1} |
If specified, ensure that the item nodes are valid. | item {0} cannot be found. |
If specified, ensure the location nodes are valid. | location {0} cannot be found. |
If specified, ensure the period nodes are valid. | period label {0} cannot be found. |
If specified, ensure that the values for item nodes can be evaluated. For some cases, the worksheet parameter, rv_item_passed cannot be used to initialize the macro parameter. |
Item Passed cannot be evaluated. Define an alternate selection. |
If specified, ensure that the values for location nodes can be evaluated. For some cases, the worksheet parameter, rv_location_passed cannot be used to initialize the macro parameter. |
Location Passed cannot be evaluated. Define an alternate selection. |
If specified, ensure that the values specified for period nodes can be evaluated.
For some cases, the worksheet parameter, rv_period_passed cannot be used to initialize the macro parameter. |
Period Passed cannot be evaluated. Define an alternate selection. |