Back to index
Summary
Moves a state definition within a workflow definition.requestStringrequiredThis parameter and the value displayed are required; request=moveStateDefinition must appear in your query string.projectNameStringrequiredThe name for the project that must be unique among all projects. workflowDefinitionNameStringrequiredThe name of the workflow definition. stateDefinitionNameStringrequiredThe name used for the state definition. beforeStateDefinitionStringoptionalThe name of the state definition before which stateDefinitionName should appear. Blank to move the state definition 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.moveStateDefinition( request: "test-request", projectName: "test-projectName", workflowDefinitionName: "test-workflowDefinitionName", stateDefinitionName: "test-stateDefinitionName" /* optional arguments */ )