7.4

Table Of Contents
You might also use external validation as an alternative method for ensuring valid values. See Using
External Validation in the Custom Forms Designer.
Table 368. Constraints Tab Options
Option Description
Required The requesting user must provide a value for this field.
n
Constant. Select Yes to require that the requesting user
provides a value. Select no if the field is optional.
n
Conditional value. Whether the field is required is
determined by the first expression that is true. For example,
this field is required if the operating system family starts with
Darwin in another field.
n
External source. Status is based on the results of the
selected vRealize Orchestratoraction.
Regular expression Provide a regular expression that validates the value and a
message that appears when the validation fails.
The regular expressions must follow JavaScript syntax. For an
overview, see Creating a regular expression. For more detailed
guidance, see Syntax.
n
Constant. Provide a regular expression. For example, for
an email address, the regular expression might be ^[A-Za-
z0-9._%+-]+@[A-Zaz0-9.-]+\\.[A-Za-z]{2,}$ and the
validation error message is The email address format
is not valid. Please try again.
n
Conditional value. The regular expression that is used is
determined by the first expression that is true.
Minimum value Specify a minimum numeric value. For example, a password
must have at least 8 characters.
Provide an error message. For example, The password must
be at least 8 characters.
n
Constant. Enter the integer.
n
Conditional value. The minimum value is determined by
the first expression that is true. For example, a minimum
CPU value is 4 if the operating system does not equal Linux.
n
External source. Value is based on the results of the
selected vRealize Orchestrator action.
Configuring vRealize Automation
VMware, Inc. 536