moveStateDefinition

Back to index

Summary

Moves a state 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.
beforeStateDefinition
Stringoptional
The name of the state definition before which stateDefinitionName should appear. Blank to move the state definition to the last position.

Usage

Perl

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

ectool

ectool moveStateDefinition \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ "test-stateDefinitionName" `# stateDefinitionName` \ # optionals

Examples

Perl

$cmdr->moveStateDefinition("Default", "BTD", "Unit test", {beforeStateDefinition => "Build"});

ectool

ectool moveStateDefinition "Default" "BTD" "Unit test" --beforeStateDefinition "Build"