VMware Cloud Community
qc4vmware
Virtuoso
Virtuoso

Extracting values from a vRealize Automation blueprint component

I'm trying to grab the value of the reservation policy from a blueprint component.  I've successfully done this by using this very long call:

var policyName = bpComponent.getComponentFieldValue("reservation_policy").getFacets().get("defaultValue").getConstantValue().getLabel();

I'm just curious if there is a more abbreviated path to this data or if this is it.

Reply
0 Kudos
0 Replies