Sequence.GetStepIndex

Syntax

Sequence.GetStepIndex( nameOfStep, stepGroupParam)

Return Value

Long

Returns the index of the step with the name that matches the name you specify. Returns -1 if no such step exists.

Purpose

Returns the index of the step with the name that matches the name you specify.

Parameters

nameOfStep As String

[In] Specifies the name of the step for which you want the index. When more than one step using the same name exists in the step group, the method returns the index of the first step with that name. Name comparison is case-insensitive. You can also pass a unique step ID.

stepGroupParam As StepGroups

[In] Specifies a particular step group.

See Also

Sequence.GetStepByName

Sequence.GetStepByUniqueId

Sequence.StepNameExists

Step.UniqueStepId

StepGroups