How to use variables?

Automation Anywhere lets you use your variables in several actions like Keystrokes, Open Programs/Files, Files/Folders, Insert Prompt, etc. Automation Anywhere always puts the variables between the ‘$’ signs for e.g. $Your-Variable$. The ‘$’ sign before and after the variable name informs Automation Anywhere to treat the text in between the ‘$’ signs as variable and not treat it as any other text. During the execution of the task, Automation Anywhere replaces the variable name with the actual value of the variable.

Following is a screenshot of how to insert a variable using Keystroke Action.