Back to index
Summary
Modifies 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->modifyProcessDependency( "test-projectName", # projectName "test-processName", # processName "test-processStepName", # processStepName "test-targetProcessStepName" # targetProcessStepName # optionals );
ectool
ectool modifyProcessDependency \ "test-projectName" `# projectName` \ "test-processName" `# processName` \ "test-processStepName" `# processStepName` \ "test-targetProcessStepName" `# targetProcessStepName` \ # optionals
Examples
Perl
To modify a dependency between two component process steps in a master component:
$cmdr->modifyProcessDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file', branchConditionName => 'Create new WAR file'});
To modify a dependency between two component process steps in a specific application:
$cmdr->modifyProcessDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file', componentApplicationName => 'Shopping Cart', branchConditionName => 'Create new WAR file'});
To modify a dependency between two application process steps:
$cmdr->modifyProcessDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {applicationName => 'Shopping Cart', branchConditionName => 'Create new WAR file'});
ectool
To modify a dependency between two component process steps in a master component:
ectool modifyProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file' --branchConditionName 'Create new WAR file'
To modify a dependency between two component process steps in a specific application:
ectool modifyProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file' --componentApplicationName 'Shopping Cart' --branchConditionName 'Create new WAR file'
To modify a dependency between two application process steps:
ectool modifyProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --applicationName 'Shopping Cart' --branchConditionName 'Create new WAR file'