https://github.com/robocorp/example-retry-work-item-bot
An example robot which can automatically retry failed work items with specified exception types.
https://github.com/robocorp/example-retry-work-item-bot
Last synced: 4 months ago
JSON representation
An example robot which can automatically retry failed work items with specified exception types.
- Host: GitHub
- URL: https://github.com/robocorp/example-retry-work-item-bot
- Owner: robocorp
- License: apache-2.0
- Created: 2022-07-21T18:50:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T13:47:22.000Z (almost 4 years ago)
- Last Synced: 2025-02-26T16:50:19.252Z (over 1 year ago)
- Language: RobotFramework
- Size: 5.86 KB
- Stars: 2
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automatic Work Item Retrier Bot
This robot will list all processes in a workspace as configured from the provided vault and then find those work items which failed with an exception type of "APPLICATION", "ORCHESTRATOR", or "UNSPECIFIED" and retry them.
The robot expects the environment variable `WORKSPACE_CREDS` to point to the name of the vault item which contains the workspace api key. It defaults to "workspace_credentials". The vault object should have
two keys:
- `api_key`
- `workspace_id`
The vault item can include the key `process_id` to restrict this bot's actions to only one process.
The api key used must have the following permissions for this bot to function:
- `read_processes`
- `read_runs`
- `write_work_items`
- `read_work_items`
- `trigger_processes`