10-23-2008 11:04 PM
Hi...
I want to set the RunState.NextStepIndex. I do not want to hardcode the value. I want to dynamically get the stepIndex of a particular step so that even if the steps are moved still i go to the same step. How can i get the stepIndex of any step...? which method should i use...?
Solved! Go to Solution.
10-24-2008 11:40 AM
Once you have a reference to the sequence then you can call GetStepIndex.
Sequence.GetStepIndex ( nameOfStep, stepGroupParam)
Returns the index of the step with the name that matches the name you specify. Returns -1 if no such step exists.
Returns the index of the step with the name that matches the name you specify.
nameOfStep As String
[In] The name of the step you want the index of. If there is more than one step using the same name 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.
Hope that helpls,
10-29-2008 12:36 AM
Thank You...
It worked...