getStateDefinitions

Back to index

Summary

Retrieves all state definitions in 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.
includeFormalParameters
Booleanoptional
True means formal parameters will also be included.
startableOnly
Booleanoptional
True means only state definitions marked as startable will be included.

Usage

Perl

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

ectool

ectool getStateDefinitions \ "test-projectName" `# projectName` \ "test-workflowDefinitionName" `# workflowDefinitionName` \ # optionals

Examples

Perl

$cmdr->getStateDefinitions("Default", "BTD", {startableOnly => 1});

ectool

ectool getStateDefinitions "Default" "BTD" --startableOnly 1