Validation and error messages
Validation is performed when you execute the RunCodelistInterfaceService macro. If
validation fails, the macro execution is stopped, and the related error message is reported in
the audit log.
This table list the error messages displayed for various validation failures:
Validation Condition | Error Message |
---|---|
Checks that the passed interface service is valid. | Interface Service "{0}" cannot be found. |
If the selected Interface Service data entity is not applicable to the current macro context, the macro is not executed. RunCodeListIntefaceService can only run interfaces of data entity = code list. | Interface Service {0} does not match the data entity required for a cycle period macro. |
If the Direction does not match the Interface Direction of the selected Interface Service, the macro is not executed. | Direction parameter {0} does not match the direction of the selected Interface Service "{1}". |
Checks that the Data Source is of the same type defined in the Interface service. | Data Source {0} type doesn't match the data source type in Interface Service "{1}". |
This table lists the status of the supported cycle period and scenarios for which the macro can be executed:
Cycle Period Status | Scenario Status | Validation Message |
---|---|---|
Pending | N/A | Cannot run macro {0} because Cycle Period has status "Pending" |
Running | Any | N/A |
Completed | Any | N/A |
Aborted | Any | N/A |
Paused | Any | N/A |
Archived | Any | Cannot run macro {0} because Cycle Period has status "Archived" |