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)

Working with the filesystem

There may be instances where we must create, delete, move, or rename files and folders. Automation Anywhere has two packages: one for files and one for folders. In the following screenshot, you can see the actions that are available for managing the filesystem in Automation Anywhere:

Figure 9.25 – File/Folder package and its actions

Figure 9.25 – File/Folder package and its actions

Our current bot creates seven subfolders, with each folder containing a CSV file called output.csv. To get some hands-on experience with files and folders, we are going to automate the following process:

  1. Rename every output.csv file to its subfolder name.
  2. Move the renamed file(s) to C:\Hands-On-RPA-with-AA-Sample-Data\Chapter09_Output.
  3. Delete the empty subfolder(s).

You may have noticed that there isn't a file move action. In order to achieve this, we will perform a copy and delete. We will break this walk-through into five sections to make it easier to follow:

...