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)

Looping through lists

In this section, we will be looping through the lstSourceList list variable. As we go through the list, a variable will be needed to store the current name within the list. You created a variable for this earlier called strFullName.

To loop through a list, we must use the Loop action. Let's continue with the walk-through and apply the Loop action:

  1. Drag the Loop action from the Loop package just below line 6.
  2. Set the following properties for the Loop action on line 7:

    Loop Type: Iterator

    Iterator: For each item in the list

    list: lstSourceList - List

    For: All items in the list

    Assign the current value to variable: strFullName - String

    The properties should look like this:

    Figure 8.11 – Loop properties dialog

  3. Click on Save.
  4. All the actions that need to be performed within the loop are represented by being indented within the Loop action. Let's align our comments (lines 8 to 12) so that they are within the loop. This can be done by...