When you click Run in the AWE interface to test the task, the EFT variables in the task have no value. Variables used in tasks are placeholders that will be defined in EFT when the task is processed in the Event Rule. When a task uses EFT variables, you need set test values in the variables at the start of the task by inserting a Set Variable step for each variable in the task. After a successful test, you then disable the Set Variable steps. You can also see the progress of the test run by setting Watches for each variable. (Refer to Debugging workflows for more debug/test information.)
To test a task that contains EFT variables
At the top of the task, insert a step to set the value of the variable for each variable used:
In the Available Actions tree, expand the Variables node, then click and drag the Set Variable action to the top of the Steps pane. The Set Variable dialog box appears.
In the Variable Name box, click the down arrow to specify the variable to set. For example, if you are using the EFT variable %USER_LOGIN% in the task, click USER_LOGIN.
In the New Value box, specify the value of the variable. For example, for the %USER_LOGIN% variable, type a valid username that can be authenticated when you test the task.
If you do not want the value to appear, such as for a password, select the Disguise initial value check box.
Click OK to save the step.
Insert additional Set Variable steps for each variable in the task. For example, if want to test FTP login, specify test variables for the username and password.
After a successful test, disable the Set Variable steps. (You could delete them, but you just disable them, you can use them again for future testing and even copy them to other tasks.) If you do not disable the Set Variable steps, when EFT runs the task, the Set Variable steps will override any values that EFT set with the variables that you have specified in the Set Variable steps.
To disable the step, right-click the Set Variable step, then click Enable.
The steps are grayed out, indicating that they are disabled.
The task is now ready to be inserted into an EFT Event Rule.
Several features help you test and debug your tasks as you build them. The Run icon allows you to run all steps of the task, run only a selected step, or run the task from a selected point. You can also pause a running task by clicking the Pause icon, and you can stop a running task at any point using the Reset icon. Also, the Step icon allows you to run a task one step at a time.
To run the entire task
To run a selected step
Select the step, click the down arrow on the Run icon, and then click Run Selected.
To run the task from a selected step
Select the step to run from, click the down arrow on the Run icon, and then click Run From Here.
To run a task step by step
Click the Step icon . The first step of the task runs.
Check any output data you want to check and then click the Step icon again to run the next step. If the interface is minimized, use the Debug task toolbar.
Continue clicking Step until you reach the end of the task or until you have seen what you need to see. You can click the Reset icon at any time to stop the step process.
To pause a running task
Click the Pause icon .
To stop a running task
Click the Reset icon .