WorkflowJob - deleteJobByGroupAndName
WorkflowJob - deleteJobByGroupAndName
Description :
Deletes a workflow Job by group and name.
Deletes the workflow job and all its related dependencies. You must provide the name of the job and the fully qualified path to the job group where the job is stored..
Return type : void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
parentGroup | String | The fully qualified path to the job parent group |
jobName | String | The name of the workflow job |
Example
The following example demonstrates how to delete a Workflow Job.
Script
# Job group in which the Workflow Job is stored.
WORKFLOWJOB_GROUP="/parent/group1"
# Name of the existing Workflow Job.
WORKFLOWJOB_NAME="workflowjob1"
#Delete the Workflow Job
`blcli WorkflowJob deleteJobByGroupAndName $WORKFLOWJOB_GROUP $WORKFLOWJOB_NAME`
WORKFLOWJOB_GROUP="/parent/group1"
# Name of the existing Workflow Job.
WORKFLOWJOB_NAME="workflowjob1"
#Delete the Workflow Job
`blcli WorkflowJob deleteJobByGroupAndName $WORKFLOWJOB_GROUP $WORKFLOWJOB_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*