// StepName Returns the name for a step
StepName Returns the name for a step
// StepName Returns the name for a step
func (s *WorkflowStep) StepName(selector []int) string {
	var options *StepOptions
	if s.Run != nil {
		options = &s.Run.StepOptions
	} else if s.External != nil {
		options = &s.External.StepOptions
	} else if s.Generator != nil {
		options = &s.Generator.StepOptions
	} else if s.Service != nil {
		options = &s.Service.StepOptions
	} else if s.Compound != nil {
		options = &s.Compound.StepOptions
	}
	return options.StepName(selector)
}
func ( s * WorkflowStep ) StepName ( selector [ ] int ) string { var options * StepOptions if s . Run != nil { options = & s . Run . StepOptions } else if s . External != nil { options = & s . External . StepOptions } else if s . Generator != nil { options = & s . Generator . StepOptions } else if s . Service != nil { options = & s . Service . StepOptions } else if s . Compound != nil { options = & s . Compound . StepOptions } return options . StepName ( selector ) }
StepName Returns the name for a step
StepName Returns the name for a step