Automation Anywhere-Variables and writing your first Bot

In this post we will see how to create a user defined variable along with how to print a variable in message box and writing your first bot.

Open Automation Anywhere client and create new task, at the bottom right there is a menu option called Variable manager, please find below image for your reference-

In Variable manager user can create 2 types of variable-

a- System variable– Predefined list of system variables which are used in bot creation

b- User defined variables-User defined variable are of two types variables with values and variable without values which are also known as null variables. Null variables are used mostly at places where values are required to compare to perform various If/Else operation.

Below figure is User defined variable creation screen(click on add button in above screen)-

Below figure is a snapshot of system variables This list of system variables contains data which is required in day to day clerical process like, working on excel column, rows, extracting date(day, month, year), Various variable that helps in performing loop operation etc

Below Image contains a user defined variable with value “Hello World ” is being filled. Click on message box in from list of available command from left command panel, Now once message box pop up box opens press f2, this will bring variables(user defined and system variables), select the user defined variables which we just created(“Hello World”)

Now we will edit and print this value of user defined variable in a message box. On the left side there is a list of commands(237+)-

a- Select Message box and press f2.
b- Now type”This is my first bot”
c- Click on save

Save the task and run it, Your first bot is ready and a message is being printed in message box-

Hello World This is my first bot

Automation anywhere tool contains list of commands which helps in writing bots quickly. Also, Bots are easier to maintain and execution is easy to control. We will have a look of other features of automation anywhere in coming post,that why this tool is top choice for Robotic process automation.


Nice content!!! Keep posting.

I got a quick question. How do you implement a solution in Automation Anywhere when there is a human intervention I.e. human decision is required in a particular step.

In tools like openspan this can be achieved by providing the ui to the user to select the decision based on which the automation can be triggered.

How can this be done in automation anywhere? This is more in terms of front office tasks.

Appreciate your quick response.


Thanks for your comments Sid!!!

There are triggers which can be configured once a manual job is done triggers can be configured.
e.g.- There is a process which generate some file, further processing require some manual step and once that step is cone remaining stages can be achieved by Bot itself. Only thing require is the usage triggers.


Leave a Reply to ashok Cancel reply

Your email address will not be published. Required fields are marked *

RPA Implementation
Key decisions in an RPA Implementation

Transforming business and implementing process automation is a strategic approach. Any gap or incorrect decision can impact the desired RoI. Let us have a look at some of the mistakes organisations make while implementing an RPA project are- 1- Wrong Tool selection 2- Incorrect process selection 3- Gap in Risk …

bot uploading
Automation Anywhere-Uploading bot in control room and its execution in runner

Automation Anywhere is designed so elegantly that every aspect of process automation is considered, from bot creation to its execution, setting triggers, creating workflows and till its monitoring and result reporting. Every project should have one control room assigned or more precisely we can say that for an individual client …

automation anywhere image recognition
Automation Anywhere-Essentials of Web Automation-II

In this post we will see how to use Image based recognition and how to handle title of a web page which is dynamic in nature. In Automation Anywhere tool if a web control is Div then use Image recognition rather than any other option as same is best-recomended solution …