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)

Understanding Try, Catch, Finally, and Throw actions

The actions used for handling errors are all designed to manage different aspects of each error. We know a bot runs a sequence of actions. Each bot can have multiple error-handling routines. If there is a particular part of your bot that is vulnerable to an error, you would wrap those actions within a Try action. This would assign the action or actions as a block within the Try action. Any action within the Try action is managed by the error-handling routine. If any action was to fail from within the Try block, the bot would move directly to the Catch action for that error handler. Here, you would instruct the bot on what to do if an error was to occur. The most common actions would be to log the details to an error log file, maybe take a screenshot, or even send an email. The bot will continue to process any further actions in its routine without stopping.

All the actions within the Finally block are expected regardless of whether...