- 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.
推薦閱讀
- Learning Spring 5.0
- 從0到1:HTML+CSS快速上手
- Learning Python Design Patterns(Second Edition)
- Mastering C++ Multithreading
- 軟件測試教程
- JavaScript應用開發實踐指南
- Python程序設計與算法基礎教程(第2版)(微課版)
- 軟件體系結構
- Python自然語言理解:自然語言理解系統開發與應用實戰
- 算法設計與分析:基于C++編程語言的描述
- Mastering SciPy
- Xamarin Cross-Platform Development Cookbook
- Java多線程并發體系實戰(微課視頻版)
- Java程序設計
- Azure for Architects