Creating Local Variables

Local variables are created and used by only a single process. When creating a process in the Process Editor, you can create a process variable that will only be available for the process.

To create local variables:

  1. In the Navigation pane, click Processes.

The Processes window opens.

  1. In the Processes Summary pane, double-click the process you want to edit or right-click and select New Process.

The Process Editor opens.

  1. Click the Steps tab.

The Steps tab opens.

  1. Add a new step or select a step in which you want to add the local variable.
  2. In the Parameters tab, click the Select Variable button.

The Select Variable dialog opens.

  1. In the Navigation pane, click the Local Variables folder.
  2. Right-click in the Variables Summary pane and select New Variable.

The New Variable dialog opens.

  1. Enter the following information:

    Field

    Description

    Name

    Enter a unique name for the variable. Variable names can have a maximum of 100 characters. Special characters and numbers are allowed.

    Description

    Enter a description for the variable. Descriptions can have a maximum of 256 characters. Special characters and numbers are allowed.

    Data Type

    Select the data type:

    • Text - Any alphabetic or numeric characters with a maximum length of 65,536 (64K) characters.
    • Number - Any positive or negative numeric with or without decimals. Special characters are not allowed.
    • Date - Any date format using alphabetic or numeric characters including or excluding day, month, and year.

    Initial Value

    Enter or select the initial value for this variable based on the type of variable specified. Upon saving the variable, the initial value and type format are verified to ensure that they are valid. If you are using a recordset, leave this field blank.

    You can use the path of a process as a variable by entering the path. These paths are case-sensitive.

    Placing a skip (^) character in the initial value indicates that no value is used for the step, and the step is marked as skipped during execution. Create a skip character by pressing <Shift> <6>.

  1. If you want to mask the value in the results, select the Mask the value option. For more information, see Masking Variables.
  2. If you want to encrypt the value in the database, select the Encrypt value in database option. This option is only available if you chose to mask the value.
  3. Click OK.

The variable is saved as a local variable for this process.

To delete a local variable:

  1. In the Navigation pane, click Processes.

The Processes window opens.

  1. In the Processes Summary pane, double-click the process you want to edit.

The Process Editor opens.

  1. Click the Steps tab.

The Steps tab opens.

  1. Select the step in which you want to delete the local variable.
  2. In the Parameters tab, click the Select Variable button.

The Select Variable dialog opens.

  1. In the Navigation pane, click the Local Variables folder.
  2. In the Variables Summary pane, right-click on the variable you want to delete and select Delete.

    The Confirm Delete dialog opens.

  3. Click Yes.

    The variable is deleted.

  4. Click OK.
  5. To save your process change, slick the Save button.

 

Related Topics Link IconRelated Topics