{"id":19607192,"url":"https://github.com/robocorp/work-item-error-handling","last_synced_at":"2026-03-04T00:23:22.887Z","repository":{"id":103903599,"uuid":"436967858","full_name":"robocorp/work-item-error-handling","owner":"robocorp","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-10T15:32:00.000Z","size":1061,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-09T09:26:50.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robocorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-10T12:15:37.000Z","updated_at":"2022-02-17T03:56:58.000Z","dependencies_parsed_at":"2023-09-03T05:22:24.308Z","dependency_job_id":null,"html_url":"https://github.com/robocorp/work-item-error-handling","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fwork-item-error-handling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fwork-item-error-handling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fwork-item-error-handling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fwork-item-error-handling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robocorp","download_url":"https://codeload.github.com/robocorp/work-item-error-handling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240895174,"owners_count":19874940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T10:09:14.595Z","updated_at":"2026-03-04T00:23:22.831Z","avatar_url":"https://github.com/robocorp.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Work Item Error Handling\n\nExample is based on concept of [Suite Teardown](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#suite-setup-and-teardown) which is a ``Robot Framework`` execution step which will be executed at the end of Robot execution.\n\n# Table of Contents\n\n- [Robot Overview](https://github.com/robocorp/work-item-error-handling#robot-overview)\n- [Task: Passing Execution](https://github.com/robocorp/work-item-error-handling#task-passing-execution)\n- [Task: Only Business Failures](https://github.com/robocorp/work-item-error-handling#task-only-business-failures)\n- [Task: Application and Business Failures](https://github.com/robocorp/work-item-error-handling#task-application-and-business-failures)\n- [Control Room Setup](https://github.com/robocorp/work-item-error-handling#control-room-setup)\n\n## Robot overview\n\nRobot has been divided into three tasks:\n\n    1. Passing Execution\n    2. Only business failures\n    3. Application and Business failures\n\nAll tasks will execute `Suite Teardown` step as described in the overview (above).\n\n### Task: Passing Execution\n\nDoes not do anything but will go through error handling.\n\n### Task: Only business failures\n\nWill execute keyword ``User Keyword`` which is run with ``Run Keyword And Ignore Error``.\nThis will enable checking keyword status and error message specifically to determine how\nerrors should be handled for that keyword.\n\nIn this case error messages are appended to global error messages list, which will be\nhandled by the ``Suite Teardown`` at the end of the execution. These errors are labeled\nwith an exception type **Business**.\n\n**Image.** Control Room run overview shows step 2 Business exception\n\u003cimg src=\"images/business_exception_overview.png\" style=\"width:1024px; margin-bottom:20px\"\u003e\n\n**Image.** Control Room view on exception details\n\u003cimg src=\"images/business_exception_details.png\" style=\"width:1024px; margin-bottom:20px\"\u003e\n\n**Image.** Control Room view on run console log\n\u003cimg src=\"images/business_exception_process_run.png\" style=\"width:1024px; margin-bottom:20px\"\u003e\n\n### Task: Application and Business failures\n\nIn addition to the ``Only business failures`` task this task will be using ``RPA.Browser.Selenium``\nlibrary to cause uncaught exception on ``Click Element`` keyword which will be labeled with an\nexception type **Application**. All **Business** exceptions are also appended to the overall error message.\n\n**Image.** Control Room run overview shows step 2 Business exception\n\u003cimg src=\"images/application_exception_overview.png\" style=\"width:1024px; margin-bottom:20px;\"\u003e\n\n**Image.** Control Room view on exception details\n\u003cimg src=\"images/application_exception_details.png\" style=\"width:1024px; margin-bottom:20px\"\u003e\n\n**Image.** Control Room view on run console log\n\u003cimg src=\"images/application_exception_process_run.png\" style=\"width:1024px; margin-bottom:20px\"\u003e\n\n## Control room setup\n\nTo see how to set up Control Room and understand more about how work items are used, see the following article: [Using work items](https://robocorp.com/docs/development-guide/control-room/data-pipeline).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fwork-item-error-handling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobocorp%2Fwork-item-error-handling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fwork-item-error-handling/lists"}