Creating Variables

Variables can be used to represent data in a task that might be different from computer to computer. Variables can be modified during a task's execution and can be used to represent and store data that might be different each time the task is run. Once you have created a variable, it becomes available for use in other steps of the task. It also appears in drop-down lists in places where a variable can be entered, and it can be used in expressions by placing the variable name between percent signs (%).

To create a variable

  1. In the EFT administration interface, connect to EFT and click the Server tab.

  2. In the left pane, expand the Site node for the Site that you want to configure, then click the Advanced Workflows node.

  3. Edit a task or create a new task to open the AWE interface. The Task Builder appears.

  4. Do one of the following in the Task Builder:

    The Create Variable dialog box appears.

  5. Click the Advanced tab

  6. In the Variable type area, specify whether the variable is Text or a Number, or leave the default of Auto.

  7. Select or clear the check boxes as needed:

  8. Click the Error Causes tab.

  9. Click the On Error tab.

  10. If you want to try the step again on errors, select the Retry the step check box, then specify the number of times to retry the step, and the error actions:

    1. Beneath the Execute the following error actions box, click Add. The Error Action dialog box appears.

    2. In the Error Action box, click an action to perform. The Task to start box changes depending on your selection in the Error Action box. For example, if you specify Write to Windows Event Log, the Task to start box changes to Text, and you can specify the text that is to appear in the Windows Event Log when this task errors.

  11. In the After error event box, specify the action to carry out if the step errors: Stop task, continue to next step, Break loop, goto label, or goto step.

  12. Click OK to create the variable.