createProcessDependency

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.
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.
componentName
Stringoptional
The name of the component, if the process is owned by a component.
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

Perl

$cmdr->createProcessDependency( "test-projectName", # projectName "test-processName", # processName "test-processStepName", # processStepName "test-targetProcessStepName" # targetProcessStepName # optionals );

ectool

ectool createProcessDependency \ "test-projectName" `# projectName` \ "test-processName" `# processName` \ "test-processStepName" `# processStepName` \ "test-targetProcessStepName" `# targetProcessStepName` \ # optionals

Examples

Perl

To create a dependency between two component process steps in a master component:

$cmdr->createProcessDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file'});

To create a dependency between two component process steps in a specific application:

$cmdr->createProcessDependency'Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file', componentApplicationName => 'Shopping Cart'});

To create a dependency between two application process steps:

$cmdr->createProcessDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {applicationName => 'Shopping Cart'});

ectool

To create a dependency between two component process steps in a master component:

ectool createProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file'

To create a dependency between two component process steps in a specific application:

ectool createProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file' --componentApplicationName 'Shopping Cart'

To create a dependency between two application process steps:

ectool createProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --applicationName 'Shopping Cart'