BuildForge Help

Creating Multiple Values for a Variable

Define multiple possible values for an environment variable by separating values with the pipe (|) character. The first value in the list is default value. The values you provide are displayed as selectable options in a list box for the environment variable.

To create a value list for an environment variable, do the following:

  1. Select Projects > Environments.
  2. In the list, select the environment.
  3. Click Add Environment Variable.
  4. At Name, enter the environment variable name.
  5. At Value, enter two or more values separated by the pipe (|) character, as shown in the following example:
    value1|value2|value3| $value4
    • The first value in the list (value1) becomes the default.
    • If one of the values is represented as a substitution variable ($value4), include a space before the substitution ($) character.

      Adding a space displays it as $value4 in the list of values. If you want to display the variable value, do not include a space.

  6. At Action, select Set.
  7. At On Project, select Normal.
Note: If the list of values exceeds the 255-character limit, you can create multiple environment variables to hold the values. See Creating a Long Value List for a Variable.