Back to index
Summary
Attach a formal parameter to a step.projectNameStringrequiredThe name for the project that must be unique among all projects. procedureNameStringoptionalThe name of the procedure. stepNameStringoptionalThe name of the step in the procedure. formalParameterNameStringrequiredName for this parameter; used when the procedure is invoked to specify a value for the parameter. applicationNameStringoptionalThe name of the application. componentApplicationNameStringoptionalThe name of the component in the application. componentNameStringoptionalThe name of the component. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" microserviceApplicationNameStringoptionalThe name of the microservice application. microserviceNameStringoptionalThe name of the microservice. pipelineNameStringoptionalThe name of the pipeline. processNameStringoptionalThe name of the process. processStepNameStringoptionalThe name of the step in the process. releaseNameStringoptionalThe name of the release, if attaching a credential to a release pipeline. stageNameStringoptionalName of the stage to which this task belongs to. stateDefinitionNameStringoptionalThe name of the workflow state definition, if attaching a parameter to a state definition. taskNameStringoptionalThe name of the task. workflowDefinitionNameStringoptionalThe name of the workflow definition, if attaching a parameter to a workflow state definition. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.attachParameter( projectName: "test-projectName", formalParameterName: "test-formalParameterName" /* optional arguments */ )