moveTransitionDefinition

On this page
Back to index

Summary

Moves a transition definition within a workflow definition.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowDefinitionName
Stringrequired
The name of the workflow definition.
stateDefinitionName
Stringrequired
The name used for the state definition.
transitionDefinitionName
Stringrequired
The name used for the transition.
beforeTransitionDefinition
Stringoptional
The 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 */ )