runFutureTask

On this page
Back to index

Summary

Run a task out of order - in a stage or gate that hasn't started yet.
flowRuntimeId
Stringrequired
The ID of the flow runtime.
stageName
Stringrequired
The name of the stage.
taskName
Stringrequired
The name of the task.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.runFutureTask( flowRuntimeId: "test-flowRuntimeId", stageName: "test-stageName", taskName: "test-taskName" /* optional arguments */ )