The Set Variable action is used to set the value of a variable. The value set can be a literal string or an expression.
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.
In the Variable Name box, select the variable to populate.
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.
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.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Set Variable Action