Lỗi trong excel unhandled could not find field property năm 2024
If a bot encounters an error due to an abnormal condition or exceptions during execution, the normal execution of the bot is hindered, and the bot fails to complete the task. The Error handler package contains actions that enable you to easily handle exceptions a bot encounters and transfers control to the other actions within that bot. Show The actions in the package enable you to separate the actions you want to use to perform a task from the actions you want to use to handle an exception. Handling exceptions ensures that a bot completes a task when it encounters an error and defines actions when an error occurs. Exceptions can be handled by the parent bot or any of the available child bots. However, the bot execution will fail if there is no error handling available in either the parent or child bots. The following image illustrates how bot execution works when you use and do not use error handling in your task. Actions in the Error handler packageThe Error handler package includes the following actions: How Error handler handles exceptionsThe following image illustrates the flow of actions of the Error handler package when an external error is encountered during bot execution. The following image illustrates the flow of actions of the Error handler package when an internal error is encountered during bot execution. Example: Using the actions in the Error handler packageFor example, if you have a bot that reads data from a Microsoft Excel file and stores it in a database. The bot might encounter an error if the required file is not available or while updating a table in the database. Use the following methods to handle the errors:
Based on this example, perform the following to handle the mentioned exceptions:
|