7.2

Table Of Contents
Prerequisites
n
For this example, create a vRealize Orchestrator action that provides data center names as location
information. Name the action datacenters_prod, add an input parameter named prod as a string type,
and use this sample script for the action script.
if(prod == null) {
return ['Empty1', 'Empty2'];
} else if (prod.equals('nonprod')) {
return ['WestDC for development testing', 'EastDC for QA automation testing', 'CentralDC
for scale testing'];
} else {
return ['NorthDC for AMEA clients', 'SouthDC for Asia Pacific clients'];
}
For information about developing workows, and about creating and using vRealize Orchestrator
script actions, see Developing with VMware vCenter Orchestrator .
n
Log in to the vRealize Automation console as a tenant administrator or fabric administrator.
Chapter 4 Using the Property Dictionary
VMware, Inc. 95