RunCodelistInterfaceService macro at cycle period level
The RunCodelistInterfaceService macro is used to run an interface service that exports
the code list elements.
For executing the macro, the value in the Command field must be specified in this format:
RunCodeListInterfaceService(Interface Service Name, Direction,[Data Source])
Note: The optional parameters are specified in [ ].
This table lists the parameters that are used to determine the interface service to be run:
Parameter Name | Description |
---|---|
Interface Service Name | The name of the interface service to run. Note: The
Data Entity of the selected Interface
Service must be of Code List type. The data entity type is
verified when the selected interface service is executed from a cycle
period.
|
Direction | Indicates the direction of the data flow. Note: This value
must be set to Export when running a code list interface
service from the context of a cycle period.
|
Data Source | An alternate data source for which the interface service is executed. Note: The Data Source must be of the same type
as defined in the Interface Service.
|
This table lists the examples of the RunCodelistInterfaceService macro:
Requirement | Syntax |
---|---|
Run the code list interface service Export My Items, with Direction = Export . This process exports the versioned data for the cycle period, which must be started and available. For example, the Cycle period must have Running, Paused, Completed or Aborted status. | RunCodeListInterfaceService("Export My Items","Export","") |
Run the code list interface service Export My Items with Direction = Export. This process exports the versioned data for the cycle period, which must be started and available. For example, the Cycle period must have Running, Paused, Completed or Aborted status. The data is exported to the Master SCV Data source. | RunCodeListInterfaceService("Export My Items","Export","Master SCV") |