Back to index
Summary
Manually transitions from the active workflow state.requestStringrequiredThis parameter and the value displayed are required; request=transitionWorkflow must appear in your query string.projectNameStringrequiredThe name for the project that must be unique among all projects. workflowNameStringrequiredThe name of the workflow. stateNameStringrequiredThe name used for the new state. transitionNameStringrequiredThe name used for the transition instance. actualParametersStringoptionalThe list of actual parameters. credentialsStringoptionalCredentials 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( request: "test-request", projectName: "test-projectName", workflowName: "test-workflowName", stateName: "test-stateName", transitionName: "test-transitionName" /* optional arguments */ )