Set Variable Action—Setting Properties

The Set Variable action is used to set the value of a variable. The value set can be a literal string or an expression.

To enter Set Variable properties

  1. From the Task Builder Available Actions pane, open the Variables folder and double-click the Set Variable action or drag it into the Steps pane.

  2. In the Variable Name box, select the variable to populate.

  3. In the New Value box, enter the value for the variable. If you want to use an expression, click the Insert Expression/Variable button and use the Expression Builder to create it.

  4. If you do not want the initial value visible in the AML file, select Disguise initial value. If this is selected, the initial value displays as random characters in the AML file.

  5. To set the Description tab properties, refer to Description Tab Options.

  6. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  7. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

About Variables

Set Variable Action