7.4

Table Of Contents
Use the following as a script example. In this example, return is the message that appears if the
validation fails.
if (!username) {
return "";
}
var result = ActiveDirectory.search("User", username);
if (result && result.length > 0) {
return "Username '" + username +"' already exists.";
}
return "";
2 In vRealize Automation, open the custom form designer for your blueprint, click External Validation,
and drag the Orchestrator validation type onto the canvas.
3 Configure the external validation options.
Configuring vRealize Automation
VMware, Inc. 543