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)

Applying a simple logical condition

A condition needs to be added to check that the strMiddleNames variable is not empty. There is no point in trying to get the middle name initials if there are no middle names. The following instructions will take you through the steps to achieve this:

  1. To assign a simple logical condition, drag the If action just below line 24.
  2. Set the following properties for the If action on line 25:

    Condition: String condition

    Source value: $strMiddleNames$

    Operator: Not equal to

    Target value: (leave blank)

    The properties should look like this:

    Figure 8.33 – If statement properties

    Figure 8.33 – If statement properties

  3. Click on Save.

All the actions that we want the bot to perform need to be placed indented within the If condition statement, similar to placing actions for loops. It gets more interesting now: within our middle names' variable, there may be one or more middle names. We just don't know this. Since we need to get the initial of each middle name, the best...