getOutputParameter

On this page
Back to index

Summary

Gets output parameter from an output parameter container. Uses the parameter name with jobId, jobStepId, or flowRuntimeId object locators to find the parameter. Returns NoSuchOutputParameter error if no output parameter was found.
outputParameterName
Stringrequired
The name of the output parameter.
flowRuntimeId
Stringoptional
The primary key or name of the flowRuntime container of the property sheet that owns the property.
jobId
Stringoptional
The ID of the job.
jobStepId
Stringoptional
The primary key of the job-step container of the property sheet that owns the property.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getOutputParameter( outputParameterName: "test-outputParameterName" /* optional arguments */ )