Back to index
Summary
Moves a transition definition within a workflow definition.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. transitionDefinitionNameStringrequiredThe name used for the transition. beforeTransitionDefinitionStringoptionalThe name of the transition before which transitionDefinitionName should appear. Blank to move the transition 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.moveTransitionDefinition( projectName: "test-projectName", workflowDefinitionName: "test-workflowDefinitionName", stateDefinitionName: "test-stateDefinitionName", transitionDefinitionName: "test-transitionDefinitionName" /* optional arguments */ )