getTransition

Back to index

Summary

Finds a transition by its name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowName
Stringrequired
The name of the workflow.
stateName
Stringrequired
The name used for the new state.
transitionName
Stringrequired
The name used for the transition instance.

Usage

Perl

$cmdr->getTransition( "test-projectName", # projectName "test-workflowName", # workflowName "test-stateName", # stateName "test-transitionName" # transitionName );

ectool

ectool getTransition \ "test-projectName" `# projectName` \ "test-workflowName" `# workflowName` \ "test-stateName" `# stateName` \ "test-transitionName" `# transitionName`

Examples

Perl

$cmdr->getTransition("Default", "workflow_26_201010121647", "build", "build2test");

ectool

ectool getTransition "Default" "workflow_26_201010121647" "build" "build2test"