getWorkflowDefinition

On this page
Back to index

Summary

Retrieves a workflow definition by its name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowDefinitionName
Stringrequired
The name of the workflow definition.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getWorkflowDefinition( projectName: "test-projectName", workflowDefinitionName: "test-workflowDefinitionName" )