Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Robotic Process Automation with Blue Prism Quick Start Guide

You're reading from  Robotic Process Automation with Blue Prism Quick Start Guide

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781789610444
Pages 232 pages
Edition 1st Edition
Languages
Author (1):
Lim Mei Ying Lim Mei Ying
Profile icon Lim Mei Ying

Table of Contents (13) Chapters

Preface 1. The Case for Robotic Process Automation 2. Building the First Blue Prism Process 3. Pages, Data Items, Blocks, Collections, and Loops 4. Actions, Decisions, Choices, and Calculations 5. Implementing Business Objects 6. Spying Elements 7. Write, Wait, and Read 8. Working with Excel 9. Sending and Receiving Emails 10. Control Room and Work Queues 11. Exception Handling 12. Other Books You May Enjoy

Handling exceptions

Raising exceptions is great for alerting the robot when things are not going well. How then should the robot respond? When we ran the process from Studio, and if an exception was encountered, the process terminated with a pop-up dialog. The dialog contains the error type and detail, shown as follows:

To dismiss, the dialog, we simply clicked the OK button. However, the process has terminated. And in order to get it working again, we have to re-run the process.

A better way would be to see whether the robot is able to handle the error and continue running the rest of the process. Say, if the product page did not load, perhaps it could do the following:

  • Wait a few seconds before retrying
  • Retry for a fixed number of times before giving up
  • Record the error message somewhere, like in an error log, and email a human that something has gone wrong
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}