Back to index
Summary
Finds a state by its name.projectNameStringrequiredThe name for the project that must be unique among all projects. workflowNameStringrequiredThe name of the workflow. stateNameStringrequiredThe name used for the new state. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getState( projectName: "test-projectName", workflowName: "test-workflowName", stateName: "test-stateName" )