createProcessDependency

On this page
Back to index

Summary

Creates a dependency between two process steps.
projectName
Stringrequired
The name for the project that must be unique among all projects.
componentName
Stringoptional
The name of the component, if the process is owned by a component.
processName
Stringrequired
The name of the process.
processStepName
Stringrequired
The name of the process step.
targetProcessStepName
Stringrequired
The name of the target process step.
applicationName
Stringoptional
The name of the application, if the process is owned by an application.
branchCondition
Stringoptional
The branch condition.
branchConditionName
Stringoptional
The branch condition name.
branchConditionType
Stringoptional
The branch condition type.
Possible values: "CUSTOM", "NONE", "VALUE"
branchType
Stringoptional
The branch type.
Possible values: "ALWAYS", "ERROR", "SUCCESS"
componentApplicationName
Stringoptional
If specified, the component is scoped to this application not the project.
microserviceApplicationName
Stringoptional
Name of the application containing the microservice.
microserviceName
Stringoptional
The name of the microservice, if the process is owned by a microservice.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createProcessDependency( projectName: "test-projectName", processName: "test-processName", processStepName: "test-processStepName", targetProcessStepName: "test-targetProcessStepName" /* optional arguments */ )