Back to index
Summary
Creates a dependency between two process steps.projectNameStringrequiredThe name for the project that must be unique among all projects. processNameStringrequiredThe name of the process. processStepNameStringrequiredThe name of the process step. targetProcessStepNameStringrequiredThe name of the target process step. applicationNameStringoptionalThe name of the application, if the process is owned by an application. branchConditionStringoptionalThe branch condition. branchConditionNameStringoptionalThe branch condition name. branchConditionTypeStringoptionalThe branch condition type. Possible values: "CUSTOM" , "NONE" , "VALUE" branchTypeStringoptionalThe branch type. Possible values: "ALWAYS" , "ERROR" , "SUCCESS" componentApplicationNameStringoptionalIf specified, the component is scoped to this application not the project. componentNameStringoptionalThe name of the component, if the process is owned by a component. microserviceApplicationNameStringoptionalName of the application containing the microservice. microserviceNameStringoptionalThe 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'