- 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.
推薦閱讀
- DB2 V9權(quán)威指南
- Reporting with Visual Studio and Crystal Reports
- 自己動(dòng)手寫搜索引擎
- Python入門很簡(jiǎn)單
- PHP基礎(chǔ)案例教程
- Java 9 Programming Blueprints
- Java游戲服務(wù)器架構(gòu)實(shí)戰(zhàn)
- 鋒利的SQL(第2版)
- 網(wǎng)絡(luò)爬蟲原理與實(shí)踐:基于C#語言
- Learning Apache Mahout Classification
- Learning Data Mining with R
- ArcGIS for Desktop Cookbook
- Image Processing with ImageJ
- 后臺(tái)開發(fā):核心技術(shù)與應(yīng)用實(shí)踐
- C陷阱與缺陷