ExecutionTask - getPropertyValue
ExecutionTask - getPropertyValue
Description :
This command returns the fully resolved value of a given property in a given execution task, using execution task DB Key and property name.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
executionTaskDBKey | com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey | Handle to the execution task. |
propertyName | String | Name of the property whose value you want to get. |
Example
The following example gets the value of a property DESCRIPTION
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
blcli ExecutionTask getPropertyValue $ET_KEY DESCRIPTION
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*