Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
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.

ExecutionTask - getOverriddenJobPropertyByJR


ExecutionTask - getOverriddenJobPropertyByJR

Description :

This command returns the overridden value of a job's property for a specific job run. This command returns a String represents the value of the given property for the a specific job run.

Return type : String

Command Input :

Variable Name

Variable Type

Description

jobRunKey

com.bladelogic.om.infra.model.base.keys.SJobRunKey

Handle to a job run.

propertyName

String

Name of the property to retrieve its overridden value.

Example

The following example shows how to retrieve the overridden value for a job's property in a specific job run. In this example we will retrieve the value for JOB_TIMEOUT property for the last job run of the job 'snapJob'.

Script





JOB_KEY=`blcli SnapshotJob getDBKeyByGroupAndName /snapshots snapJob`  JOB_RUN_KEY=`blcli JobRun findLastRunKeyByJobKey $JOB_KEY`

blcli ExecutionTask getOverriddenJobPropertyByJR $JOB_RUN_KEY JOB_TIMEOUT



 

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

BMC Server Automation Command Line Interface 8.3