Book Image

Robotic Process Automation with Blue Prism Quick Start Guide

By : Lim Mei Ying
Book Image

Robotic Process Automation with Blue Prism Quick Start Guide

By: Lim Mei Ying

Overview of this book

Robotic process automation is a form of business process automation where user-configured robots can emulate the actions of users. Blue Prism is a pioneer of robotic process automation software, and this book gives you a solid foundation to programming robots with Blue Prism. If you've been tasked with automating work processes, but don't know where to start, this is the book for you! You begin with the business case for robotic process automation, and then move to implementation techniques with the leading software for enterprise automation, Blue Prism. You will become familiar with the Blue Prism Studio by creating your first process. You will build upon this by adding pages, data items, blocks, collections, and loops. You will build more complex processes by learning about actions, decisions, choices, and calculations. You will move on to teach your robot to interact with applications such as Internet Explorer. This can be used for spying elements that identify what your robot needs to interact with on the screen. You will build the logic behind a business objects by using read, write, and wait stages. You will then enable your robot to read and write to Excel and CSV files. This will finally lead you to train your robot to read and send emails in Outlook. You will learn about the Control Room, where you will practice adding items to a queue, processing the items and updating the work status. Towards the end of this book you will also teach your robot to handle errors and deal with exceptions. The book concludes with tips and coding best practices for Blue Prism.
Table of Contents (13 chapters)

Loops

We use collections to store rows of data. We then use loops to go through each row one by one and process it. Here's an example of a loop:

A loop always starts by looking at a specific collection; let's say, for example, the Items to Purchase collection. At the start of the loop, we read the first row, which, in our example, is the low carb granola cereal. The robot proceeds to process the low carb granola cereal by running Stage 1, followed by Stage 2. When the robot completes its processing of Stage 2, it will check whether there are more rows in the collection that has not been processed. If there are, it will automatically loop back to Stage 1. Otherwise, it will proceed to Stage 3.

Adding a loop

Now we...