ProcessDependency

3 minute readReference

createProcessDependency

Creates a dependency between two process steps.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

processName

String

The name of the process. (Required)

processStepName

String

The name of the process step. (Required)

targetProcessStepName

String

The name of the target process step. (Required)

componentName

String

The name of the component, if the process is owned by a component.

applicationName

String

The name of the application, if the process is owned by an application.

branchCondition

String

Branch Condition.

branchConditionName

String

Branch Condition Name.

branchConditionType

String

Branch Condition Type.

branchType

String

Branch Type.

componentApplicationName

String

If specified, the component is scoped to this application not the project.

microserviceApplicationName

String

Name of the application containing the microservice.

microserviceName

String

The name of the microservice, if the process is owned by a microservice.

Usage

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 */)

deleteProcessDependency

Deletes a dependency between two process steps.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

processName

String

The name of the process. (Required)

processStepName

String

The name of the process step. (Required)

targetProcessStepName

String

The name of the target process step. (Required)

componentName

String

The name of the component, if the process is owned by a component.

applicationName

String

The name of the application, if the process is owned by an application.

componentApplicationName

String

If specified, the component is scoped to this application not the project.

microserviceApplicationName

String

Name of the application containing the microservice.

microserviceName

String

The name of the microservice, if the process is owned by a microservice.

Usage

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

getProcessDependencies

Retrieves all dependencies for a process.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

processName

String

The name of the process. (Required)

componentName

String

The name of the component, if the process is owned by a component.

applicationEntityRevisionId

String

Revisionid of the versioned object

applicationName

String

The name of the application, if the process is owned by an application.

componentApplicationName

String

If specified, the component is scoped to this application not the project.

microserviceApplicationName

String

Name of the application containing the microservice.

microserviceName

String

The name of the microservice, if the process is owned by a microservice.

Usage

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

modifyProcessDependency

Modifies a dependency between two process steps.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

processName

String

The name of the process. (Required)

processStepName

String

The name of the process step. (Required)

targetProcessStepName

String

The name of the target process step. (Required)

componentName

String

The name of the component, if the process is owned by a component.

applicationName

String

The name of the application, if the process is owned by an application.

branchCondition

String

Branch Condition.

branchConditionName

String

Branch Condition Name.

branchConditionType

String

Branch Condition Type.

branchType

String

Branch Type.

componentApplicationName

String

If specified, the component is scoped to this application not the project.

microserviceApplicationName

String

Name of the application containing the microservice.

microserviceName

String

The name of the microservice, if the process is owned by a microservice.

Usage

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