Step.SetRunModeEx
- Updated2025-07-21
- 1 minute(s) read
Step.SetRunModeEx
Syntax
Step.SetRunModeEx( newRunMode, [executionParam])
Purpose
Sets the run mode of a step.
Remarks
You can set the run mode either for the sequence file or for a particular execution. If you pass an Execution object for the executionParam parameter, the run mode change applies only to that execution and is lost when the execution is destroyed. If you do not pass an Execution object, the run mode change effects all current and future executions and is saved when you save the sequence file.
Parameters
newRunMode As String
[In] The RunModes constants define the valid values for this parameter.
executionParam As Variant
[In] [ Optional ] If you want to set the run mode for a particular execution only, pass a reference to an Execution object.