GetStepStatus Example

 

The following example stores the current status of the second step of the task and displays a message box with the result. A 0 result means the step is inactive, while a 1 result means it is active.

 

Sub Main

 Dim Status As Integer

 

 Status = CurrentTask.GetStepStatus (1)

 MsgBox Status

End Sub