completeWorkflow

On this page
Back to index

Summary

Marks a workflow as completed. When completed, transitions are no longer evaluated.
request
Stringrequired
This parameter and the value displayed are required; request=completeWorkflow must appear in your query string.
projectName
Stringrequired
The name for the project that must be unique among all projects.
workflowName
Stringrequired
The name of the workflow.

Usage

Groovy

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