This vRO Action code example shows how to get a vRO Configuration Element value.
This is usefull, if you need for example a cafeHost (vCACCAFE:VCACHost Object) in a vRO action and you want to use this action in vRA to provide for example a Drop-Down with Networks for a specific Businessgroup.
For sure it is possible to pass the cafeHost as input into the action, but it is not possible to get the cafeHost as input, if you use this action in vRA.
Example:
If you have the following Configuration Element structure in vRO
Customer A -> vRA -> vRA Configuration
Where Customer A and vRA is a Folder and vRA is the Configuration Element
This Configuration Element has a Attribute called cafeHost. This Attribute has as Type vCACCAFE:VCACHost and the value is the Cafe Host Object.
If you now want to get the cafeHost Object you have provide the following input to the action.
categoryPath = "Customer A/vRA"
cfgName = "vRA Configuration"
attributeName = "cafeHost"
The return value will be the cafe Host Object, which can be used in the action itself.