getWaitingTasks

On this page
Back to index

Summary

Retrieves a list of all stage tasks that are waiting on a manual approval or waiting for manual retry tasks in a pipeline run view.
flowRuntimeId
Stringrequired
The ID of the flow runtime.
stageName
Stringrequired
The name of the stage.
taskName
Stringoptional
The name of the deployer or group task.

Usage

Groovy

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