Book Image

Robotic Process Automation Projects

By : Nandan Mullakara, Arun Kumar Asokan
Book Image

Robotic Process Automation Projects

By: Nandan Mullakara, Arun Kumar Asokan

Overview of this book

Robotic Process automation helps businesses to automate monotonous tasks that can be performed by machines. This project-based guide will help you progress through easy to more advanced RPA projects. You’ll learn the principles of RPA and how to architect solutions to meet the demands of business automation, along with exploring the most popular RPA tools - UiPath and Automation Anywhere. In the first part, you’ll learn how to use UiPath by building a simple helpdesk ticket system. You’ll then automate CRM systems by integrating Excel data with UiPath. After this, the book will guide you through building an AI-based social media moderator using Google Cloud Vision API. In the second part, you’ll learn about Automation Anywhere's latest Cloud RPA platform (A2019) by creating projects such as an automated ERP administration system, an AI bot for order and invoice processing, and an automated emergency notification system for employees. Later, you’ll get hands-on with advanced RPA tasks such as invoking APIs, before covering complex concepts such as Artificial Intelligence (AI) and machine learning in automation to take your understanding of RPA to the next level. By the end of the book, you’ll have a solid foundation in RPA with experience in building real-world projects.
Table of Contents (14 chapters)

Checking and logging responses from the Child bot

Now, we will read the response from the TaskOutputDictionary variable and log the response that we sent from the Child bot:

  1. Let's add another Step Action called Check and Log Response.
  1. Within this Step, add an If condition to check whether the response is Good. Add an If Action with the String Condition, that is, $TaskOutputDictionary{Response}$, equal to Good, as shown in the following screenshot:

  1. If the response you receive is Good, we can log that the message was sent successfully. Let's add a Log to file Action and provide the File path of the text file where we'd like to log messages for this bot. For the text we wish to log, we can add $System:Machine$ - INFO - Message Successfully sent to $ReceiverName$. We'll also use Append Timestamp and choose to Append to existing log file, as shown in the following screenshot:

  1. If the response is Bad, we need to add a log entry...