- Robotic Process Automation Projects
- Nandan Mullakara Arun Kumar Asokan
- 124字
- 2021-06-24 16:14:27
Exception handling
Let's handle any exceptions for this Excel automation:
- For this, click on Add a new Catch in the Catches block beneath the Try block.
- Choose exception as System.Exception and click the box next to it.
- Also, add a Log Message activity to the catch block and add the following:
- Error as the Log Level
- "Error in Excel read operation with following exception: "+exception.Message" as the Message:
- Finally, within the Catches block, add a Terminate Workflow activity to stop the automation if there are any exceptions:
Great! This completes the ReadExcelRequest workflow where we read the Excel and stored the request data as arguments. Now, we will invoke this from the main workflow.
推薦閱讀
- Python程序設計(第3版)
- C語言程序設計立體化案例教程
- Java Web開發技術教程
- CouchDB and PHP Web Development Beginner’s Guide
- Visual C++數字圖像處理技術詳解
- Visual C#.NET程序設計
- 從零開始:UI圖標設計與制作(第3版)
- Java Web從入門到精通(第3版)
- 小程序從0到1:微信全棧工程師一本通
- C++ System Programming Cookbook
- Secret Recipes of the Python Ninja
- Java Hibernate Cookbook
- Visual Basic 程序設計實踐教程
- jQuery Mobile Web Development Essentials(Second Edition)
- 高性能PHP 7