moveStep

On this page
Back to index

Summary

Moves a step within a procedure.
projectName
Stringrequired
The name for the project that must be unique among all projects.
procedureName
Stringrequired
Name for the procedure; must be unique within the project.
stepName
Stringrequired
Name of the step; must be unique within the procedure.
beforeStep
Stringoptional
The name of the step before which stepName should appear. Blank to move the step to the last position.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.moveStep( projectName: "test-projectName", procedureName: "test-procedureName", stepName: "test-stepName" /* optional arguments */ )