moveTransitionDefinition

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

Perl

$cmdr->moveTransitionDefinition( "test-projectName", # projectName "test-workflowDefinitionName", # workflowDefinitionName "test-stateDefinitionName", # stateDefinitionName "test-transitionDefinitionName" # transitionDefinitionName # optionals );

ectool

ectool moveTransitionDefinition \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ "test-stateDefinitionName" `# stateDefinitionName` \ "test-transitionDefinitionName" `# transitionDefinitionName` \ # optionals

Examples

Perl

$cmdr->moveTransitionDefinition("Default", "BTD", "Build", "in", {beforeTransitionDefinition => "out"});

ectool

ectool moveTransitionDefinition "Default" "BTD" "Build" "in" --beforeTransitionDefinition "out"