Back to index
Summary
Runs the specified workflow definition and returns the workflow name.projectNameStringrequiredThe name for the project that must be unique among all projects. workflowDefinitionNameStringrequiredThe name of the workflow definition. priorityStringoptionalThe priority of jobs launched by the workflow. Possible values: "low" , "normal" , "high" , "highest" scheduleNameStringoptionalName for the schedule; must be unique among all schedules for the project. startingStateStringoptionalThe name of the starting state. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.runWorkflow( projectName: "test-projectName", workflowDefinitionName: "test-workflowDefinitionName" /* optional arguments */ )