RunCyclePeriodMacro macro
The RunCyclePeriodMacro macro is used to run the specified cycle period macro. This macro
command is executed at the system level.
For executing the macro, the value in the Command field must be specified in this format:
RunCyclePeriodMacro(Macro, Cycle, [Cycle Period], [Timeout], [Skip if not
present])
Note: The optional parameters are specified in [ ].
This table lists the parameters used to determine the cycle period macro to run:
Parameter Name | Description |
---|---|
Macro | The name of the macro to be run. |
Cycle | The name of the Cycle in which the macro is run. |
Cycle Period | The Cycle Period in which the macro is run. Note:
|
Time out | The time, in seconds, to wait for the cycle period to become available, if
currently processing (unavailable). Note: If this value is not
specified, the waiting period is indefinite.
|
Skip if not present | The macro step is not executed if the macro named in the step is not available or
disabled. Possible values:
Note:
|
This table lists the examples of the RunCyclePeriodMacro macro:
Requirement | Syntax |
---|---|
Run the Cycle Period macro "CreateUpsideScenario" in "Normal" cycle for the "Nov 12" Cycle Period. If the macro does not exist, do not consider this step. | RunCyclePeriodMacro("CreateUpsideScenario","Normal","Nov 12","","True"). |
Run the Cycle Period macro "CopyBaselineScenario" in "Normal" cycle for the "Nov 12" Cycle Period. The wait period is 600 seconds for the cycle period to become available. The macro fails to execute, if the macro does not exist. |
RunCyclePeriodMacro("CopyBaselineScenario","Normal","Nov 12","600"," "). |