Once you declared a variable, you can add a Set Variable operation to assign a value to your variable.
To set a variable:
Select the variable from the drop-down list.
Click the Expression Builder button and use the Build Expression window to type in your text or enter a SQL expression or script. The expression or script must return a single value of the same data type as your variable.