WorkflowJob - createWorkflowJob
WorkflowJob - createWorkflowJob
Description :
This command creates a Workflow Job and selects an Atrium Orchestrator (AO) process for it.
The processName argument includes the name of the AO module, the full path to the process, and the process name itself. For example, assume you have a module called BMC_BladeLogic-SD-Operations_Manager, and that module contains a directory called v7.42/AclPushJob. Within that directory is a process called Execute Job and Wait. The resulting processName argument would use the syntax :BMC_BladeLogic-SD-Operations_Manager:v7.42:AclPushJob:Execute Job and Wait. Note that the process name starts with a colon : character.
To assign values to the parameters of the AO process, use the assignInputParameters command.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobName | String | The name of the workflow job |
groupName | String | The fully qualified path to the job parent group |
processName | String | AO process Name |
Example
The following example creates a Workflow Job.
Script
# Name of the existing Workflow Job.
WORKFLOWJOB_NAME="workflowjob1"
# Job group in which the Workflow Job is stored.
WORKFLOWJOB_GROUP="/parent/group1"
# AO Process Name
PROCESS_NAME=":BladeLogic-SA-ITSM_Integration:AddServer"
#Create the Workflow Job
WORKFLOWJOB_DBKEY=`blcli WorkflowJob createWorkflowJob $WORKFLOWJOB_NAME $WORKFLOWJOB_GROUP $PROCESS_NAME`