Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

UpgradeModelObjectsJob - addBlPackageToJob


UpgradeModelObjectsJob - addBlPackageToJob

Description :

This command adds a BLPackage to an existing Upgrade Model Objects Job.

The jobKey argument is a DBKey that refers to the job you want to modify. The packageKey argument is a DBKey that refers to the BLPackage 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 you want to modify.

packageKey

DBKey

Handle to the BLPackage.

Example

The following example shows how to add a BLPackage to an existing Upgrade Model Objects Job.

Script


JOB_KEY=`blcli UpgradeModelObjectsJob getDBKeyByGroupAndName /group1 upgrade_co_job`

PACKAGE_KEY=`blcli BlPackage getDBKeyByGroupAndName /group2 BlPackage_1`



JOB_KEY=`blcli UpgradeModelObjectsJob addBlPackageToJob $JOB_KEY $PACKAGE_KEY`

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*