UpgradeModelObjectsJob - addTemplateGroupToJob
UpgradeModelObjectsJob - addTemplateGroupToJob
Description :
This command adds a template group to an existing Upgrade Model Objects Job.
The jobKey argument is a DBKey that refers to the job you want to modify. The groupId argument is the ID of the template group you want to add to the job.
This command returns a handle to the updated job. Note that this handle is different than any existing handle to this job. All older handles are invalid.
Return type : DBKey
Command Input :
Variable Name |
Variable Type |
Description |
---|---|---|
jobKey |
DBKey |
Handle to the job. |
groupId |
Integer |
ID of the template group. |
Example
The following example shows how to add a template group to an existing Upgrade Model Objects Job.
Script
JOB_KEY=`blcli UpgradeModelObjectsJob getDBKeyByGroupAndName /group1 upgrade_co_job`
GROUP_ID=`blcli TemplateGroup groupNameToId /group1`
JOB_KEY=`blcli UpgradeModelObjectsJob addTemplateGroupToJob $JOB_KEY $GROUP_ID`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.