Defining Variables

In the Variables tab, you can add data dictionary items, Boolean, and arrays as variables.

To add a data dictionary item as a variable:

  1. In the Logic Extensions page, click the Variables tab.
  2. To add a data dictionary item as a variable:
    1. Click the + Data Dictionary button.
    2. In the Data Dictionary window, enter the required data dictionary alias in the Alias field and then click the Add + icon. You can also use the Search, Type, and Size fields to filter and find the required data dictionary item.
      Note: (Release 9.2.7) The system displays the Add to Array drop-down menu in the Data Dictionary window when you add a data dictionary item after adding an array. You can choose to add the data dictionary item into an array by selecting the array name from the Add to Array drop-down menu.
    3. The Name field is editable. Change the value in the Name field if required.
  3. To add a Boolean as a variable:
    1. Click the +Boolean button.
      Note: (Release 9.2.7) The system displays the Add to Array window when you add a Boolean after adding an array. From the Array drop-down menu, select an array name, and then click Ok. If you donot want to add the Boolean into an array, choose the blank option from the Array drop-down menu and then click OK .
    2. The Name field is editable. Change the value in the Name field if required.
  4. (Release 9.2.7) To add an array as a variable:
    1. Click the +Array button.
    2. The Name field is editable. Change the value in the Name field if required.
      Note: When you add an array as a variable, the system adds another array variable in the <Arrayname><id>.length format in the Variables tab.
  5. Click Save.

Duplicating a Variable

To duplicate a variable item, you can click the drop-down menu next to the Name field and select either Duplicate as Data Structure, Duplicate as Variable, or Duplicate into Array (Release 9.2.7).
Note:
  • You have to manually change the name for the new duplicated variable to avoid the duplicated name validation error.
  • You cannot duplicate an array into an array. When you click the down arrow icon next to an array Name field, you will see the Duplicate as Data Structure and Duplicate as Variable options. The Duplicate into Array option is disabled.