transitionWorkflow

On this page
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.
actualParameters
Array<ActualParameter>optional
The list of actual parameters.
credentials
Array<Credential>optional
Credentials to be used in the state.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.transitionWorkflow( projectName: "test-projectName", workflowName: "test-workflowName", stateName: "test-stateName", transitionName: "test-transitionName" /* optional arguments */ )