getStateDefinition

Back to index

Summary

Retrieves a state definition by its name.
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.

Usage

Perl

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

ectool

ectool getStateDefinition \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ "test-stateDefinitionName" `# stateDefinitionName`

Examples

Perl

$cmdr->getStateDefinition("Default", "BTD", "build");

ectool

ectool getStateDefinition "Default" "BTD" "build"