getState

Back to index

Summary

Finds a state 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.

Usage

Perl

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

ectool

ectool getState \ "test-projectName" `# projectName` \ "test-workflowName" `# workflowName` \ "test-stateName" `# stateName`

Examples

Perl

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

ectool

ectool getState "Default" "workflow_26_201010121647" "build"