The following workflow sample demonstrates how you can edit the custom properties of a virtual machine.
This workflow sample works in both vRealize Orchestrator and vRealize Automation Service Broker. The following form implementation created in the vRealize Orchestrator input form designer is mandatory.
For the default value to work in Service Broker, the vRA Host value is set by an action returning the content of the variables of the configuration element.
If the default value was set in vRealize Orchestrator with a field variable binding, you would have to enable custom forms and set the constants after importing the workflow.
The machineName input labeled as Machine is defined as a drop-down menu that uses getMachineIdsAndNames as value options. This action returns an array of properties with the machine ID as a label and the machine name as a value.
The customProperties data grid uses a getMachineCustomProperties action that returns a Properties type that can be bound directly to the machineid input.