Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Robotic Process Automation Projects

You're reading from   Robotic Process Automation Projects Build real-world RPA solutions using UiPath and Automation Anywhere

Arrow left icon
Product type Paperback
Published in May 2020
Publisher Packt
ISBN-13 9781839217357
Length 388 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Ivan Loncar Ivan Loncar
Author Profile Icon Ivan Loncar
Ivan Loncar
Arun Kumar Asokan Arun Kumar Asokan
Author Profile Icon Arun Kumar Asokan
Arun Kumar Asokan
Nandan Mullakara Nandan Mullakara
Author Profile Icon Nandan Mullakara
Nandan Mullakara
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with Robotic Process Automation 2. Help Desk Ticket Generation FREE CHAPTER 3. CRM Automation 4. Moderating Social Media Using AI 5. Purchase Order Processing with UiPath ReFramework 6. Completing an RPA Challenge 7. Sales Order Processing 8. ERP User Administration 9. Employee Emergency Notifications 10. Using AI and RPA for Invoice Processing 11. Other Books You May Enjoy Appendix A and B for UiPath 1. Appendix: Looking Forward and Next Steps

Validating successful ticket creation

By way of a final step in this ticket creation automation, let's ensure that the ticket was added successfully:

  1. To do this, let's check whether Zoho Desk moved to the next page by checking whether the Close Ticket option is on screen.
  2. Since our ticket is already created (during our record sequence), go back to the Zoho ticket application in Chrome and click on the newly created ticket. You should now see the Close Ticket option at the bottom of the screen: 

  1. To check for the element, let's add an Element Exists activity within the ZohoAutomation workflow. Within the added activity, click on Indicate element in the browser and choose Close Ticket in the bottom-right corner of the Zoho ticket details screen:

  1. Also, go to the Properties window (on the right pane) of this Element Exists activity and add the Successful argument as output:

  1. Let's now check whether the ticket was added successfully. Let's add an If activity to check for the Close Ticket element.
  2. If the element exists, we will log a message to say Ticket was created in Zoho desk. Use the Log Message activity for that.
  3. If the element does not exist, this means that we have a functional error (for example, there was no data in the sheet) and the ticket could not be created. In this scenario, let's log an error message indicating that the ticket could not be created. For that, add a new Sequence activity within the Else part. Within Sequence, add a Log Message activity with the Log Level Error and a Message box with a "Ticket Not created in Zoho desk" message:

We checked for the successful creation of the ticket. Let's now handle any exception scenarios. 

You have been reading a chapter from
Robotic Process Automation Projects
Published in: May 2020
Publisher: Packt
ISBN-13: 9781839217357
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 €18.99/month. Cancel anytime