transitionWorkflow

Back to index

Summary

Manually transitions from the active workflow state.
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.
actualParameter
Arrayoptional
The list of actual parameters.
credential
Arrayoptional
Credentials to be used in the state.

Usage

Perl

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

ectool

ectool transitionWorkflow \ "test-projectName" `# projectName` \ "test-workflowName" `# workflowName` \ "test-stateName" `# stateName` \ "test-transitionName" `# transitionName` \ # optionals

Examples

Perl

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

ectool

ectool transitionWorkflow "Default" "workflow_26_201010121647" "build" "build2test"