You can insert variables (local or global) into a business rule or macro as you are creating the business rule or macro on the Source tab.
To insert a variable into a business rule or macro:
Right-click in the Source tab where you want to insert a variable.
The Variables dialog box is displayed. It contains a list of all local and global variables.
In the Variables dialog box, select a global or a local variable.
Click OK to insert the variable into the business rule or macro.
The variable is inserted on the Source tab to the right of the cursor.