Book Image

Robotic Process Automation with Automation Anywhere

By : Husan Mahey
Book Image

Robotic Process Automation with Automation Anywhere

By: Husan Mahey

Overview of this book

With an increase in the number of organizations deploying RPA solutions, Robotic Process Automation (RPA) is quickly becoming the most desired skill set for both developers starting their career and seasoned professionals. This book will show you how to use Automation Anywhere A2019, one of the leading platforms used widely for RPA. Starting with an introduction to RPA and Automation Anywhere, the book will guide you through the registration, installation, and configuration of the Bot agent and Control Room. With the help of easy-to-follow instructions, you’ll build your first bot and discover how you can automate tasks with Excel, Word, emails, XML, and PDF files. You’ll learn from practical examples based on real-world business scenarios, and gain insights into building more robust and resilient bots, executing external scripts such as VBScripts and Python, and adding error handling routines. By the end of this RPA book, you’ll have developed the skills required to install and configure an RPA platform confidently and have a solid understanding of how to build complex and robust, yet performant, bots.
Table of Contents (20 chapters)

Passing variables between main and sub-task-bots

We want each sub-task to work independently, but to do so they will need certain information. For example, the first sub-bot that creates the Excel workbook will need to know the full file path. This will allow it to delete the file if it exists and create a new one. So, the bot can perform this task for any given file path. Each sub-task can also output values; these always take the form of a Dictionary type variable. The name of the variable that is outputted is used as the key for this output dictionary. Whenever a variable is created, you will have noticed the Use as input and Use as output settings:

Figure 16.6 – The Use as input and Use as output settings

Figure 16.6 – The Use as input and Use as output settings

These settings define whether this variable will be provided as an input value and/or it will be outputted as part of the Dictionary variable to the calling task. The inputs and outputs for each task should be as follows.

Sub-task 1 –...