Creating Global Variables

Variables can be used as a reference value used for multiple objects. They can also be used to store or pass a value between executions of a process or between steps within a single process.

  • Use the Boolean variable to indicate the set of elements that should be true or false.

  • Use the Date Time variable to define a variable as date.

  • Use the Decimal variable to define a variable containing a decimal number (positive and negative).

  • Use the Integer variable to define a variable containing a integer value (positive and negative).

  • Use the Secure String variable to define a variable as encrypted.

  • Use the String variable to define a variable containing a string of text.

On the New Variable panel, specify the appropriate information:

  1. Data Type: Select the appropriate data type from the dropdown list. You will be able to select data types such as Boolean, Date, String, and so forth.

    To create new data type, click +ADD NEW from the dropdown list. For more information, see Creating Variable Type.

  2. Under General, specify the appropriate information:

    1. Display Name: Enter the unique display name for the variable.

    2. Description: Enter the brief description about the variable.

    3. Scope: Select the scope from the drop-down list. Valid values are: local, input, output, static, and so forth.

      This is applicable only when you create the variable from the Variables page, select the scope from the dropdown list such as Global and Environment.

    4. Value: Enter or select the appropriate value. For example: For Boolean global variable, you can select either true or false as the value.

  3. Click SUBMIT or SAVE in the appropriate pages.


  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved