7.4

Table Of Contents
Use the following as a script example.
var cost = "Unknown";
switch(deploymentSize) {
case 'small' : cost = "$15";break;
case 'medium' : cost = "$25";break;
case 'large' : cost = "$45";break ;
default : break ;
}
return cost;
2 In vRealize Automation, add and configure a size field and cost field to a blueprint custom form.
Configure the size field as multi select with Small, Medium, and Large values.
Configuring vRealize Automation
VMware, Inc. 538