Job - setPropertyValue

Job - setPropertyValue

Description :

This command sets a property value on a job. The property name must be defined in the Job property class, or in the appropriate subclass of Job. The property must be defined as editable.

You can use the BMC BladeLogic blenc encryption utility to encrypt values you set with this command. For syntax and sample usage, see Server : setPropertyValue .

Return type : com.bladelogic.om.infra.model.job.Job

Command Input :

Variable Name

Variable Type

Description

objectKey

DBKey

DBKey of the job.

propertyName

String

Name of the property.

valueAsString

String

The value to set.

Example

This example assumes that a job key is present in the CLI variable job_key. This example also assumes that a property called is_approved has been defined in the Job property class.

Script





Job setPropertyValue $job_key is_approved true 



Was this page helpful? Yes No Submitting... Thank you

Comments