Creating a variable set

You create a variable set to group variables that can be used across your task model.

About this task

A variable set contains a set of variables that can be referenced in all the rules and decision tables in the task model. These variables can also be used as input and output parameters when you create a function for the task model.

Each variable in a variable set has the following associated information:
  • A name to identify it.
  • A type to specify the type of data it can contain. This type can be built-in or custom.
  • An initial value.
  • A verbalization to define how the variable is referenced in business rules and decision tables.

Procedure

  1. In the task model toolbar, click the Add variable set button Add variable set button.
  2. Click the default name of the variable set to edit it.
  3. Click the + button next to the variable set name to add a new variable.
  4. Edit the details of the variable:
    • Specify the name, type, and verbalization of the variable.
    • (Optional) Specify an initial value for the variable. For more information about initial values, see ARL task model examples.
    • (Optional) Identify the variable as a list by checking List. When a variable is identified as a list, it can have multiple values.
  5. Repeat steps 3 and 4 for each additional variable.