# 🗑️ Work Deletes

**Parent page:** Orchestrator › Queue **Audience:** RPA Developers, Admins **Prerequisites:** Developer or Admin role; approving and retrying a request are available to the Admin role only


---

## Overview

The **Queue › Work Deletes** screen lists the requests created to delete the works of a process in bulk. A request is created from the process details on the [Process › Processes](/doc/processes-PiGf9xnK12) screen. The deletion runs in the background after an Admin approves the request.

To delete works one by one, use the [Queue › Works](/doc/works-JHYcTvgSxr) screen; only disabled works that never ran can be deleted there.

On this page you will learn:

* The flow and states of a delete request
* The Work Deletes list
* Creating a new request from the process details
* Approving and retrying a request
* The scope of the deletion


---

## Flow


1. A Developer creates a request with **Actions › Request Work Delete** in the process details. The request is **Pending** and not approved.
2. An Admin opens the request details on the Work Deletes screen and clicks **Actions › Approve and Initiate**. The confirmation window warns: *All filtered Queue Works will be deleted and will no longer be available.* After confirming with **Yes**, the message *You will be notified when delete process completed* appears.
3. The deletion runs in the background: the request becomes **Running**, the works are deleted and the request moves to **Completed** or **Failed**.
4. When the deletion is completed, the approver and the user who created the request get an in-app notification: *Queue Work Delete request has been completed.* No e-mail is sent.
5. For a failed request, an Admin can restart the same deletion with **Actions › Retry**.

| Delete State | Meaning |
|--------------|---------|
| Pending      | The request was created. It stays in this state after approval until the deletion starts. |
| Running      | The deletion is running in the background. |
| Completed    | The works were deleted. |
| Failed       | The deletion ended with an error; an Admin can retry it. |

Approval is separate information and is shown in the **Is Approved** field.


---

## Work Deletes List

 ![Queue › Work Deletes](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/c1afd1c9-401d-46c0-93c1-ed0c9f651ee0/work-deletes-list.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261123%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261123T234500Z&X-Amz-Expires=86400&X-Amz-Signature=8c3c846c1187b6b70bd215a9df0ee10e8f25387271d9e5a3e9e8b1f7aed1d623&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2400x1584")

* Admins see all requests; other users see only the requests they created.
* The list has no **New Record**; a request is created only from the process details. **Export** is at the top.
* Default columns: Process Name, Branch, Created User, Created Date, Delete State, Is Approved, Approved User and Process Deleted. In the image, only a few columns are left in the list.

| Row action | Description |
|------------|-------------|
| Edit       | Changes the states and the date range. Enabled only for Pending requests. |
| Details    | Opens the Queue Work Delete Details window. |
| Delete     | Deletes the request (not the works). Only Pending requests that are not approved can be deleted: *Only pending and not approved records can be deleted.* |
| ⋮ › Info   | Shows the users who created and modified the record and the dates. |


---

## Creating a New Request


1. On the [Process › Processes](/doc/processes-PiGf9xnK12) screen, open the details of the process.
2. Click **Actions › Request Work Delete**; a window with the process name and **Queue Work Delete New Record** in its title opens. The process is preselected.
3. In **State**, select the states of the works to delete: Idle, Completed, Failed, Expired. If left empty, works in all four states are deleted.
4. Enter **Created Date Begin** (required) and **Created Date End**. If the end is left empty, the current time is used.
5. Click **Save**.

 ![The Queue Work Delete New Record Window Opened from the Process Details](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/9ac6742a-22b0-4b84-940e-868d7fb7cde5/work-delete-new-request.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261123%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261123T234500Z&X-Amz-Expires=86400&X-Amz-Signature=9f3c17e12ceeac22b5466197f46534667f780a2da80facaa5fe3137a3fb194f7&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =1854x562")

| Rule | Message |
|------|---------|
| The begin date is required | *"Created Date Begin" is required.* |
| The date range cannot exceed one year | *Date range can't be higher than a year.* |
| The begin date must be before the end date | —       |
| A process can have only one pending request at a time | *Process can only have one pending Queue Work Delete item* |

> 💡 **Tip:** The dates apply to the **created date** of the works; the work date or end date is not considered.


---

## Request Details and Approval

Clicking **Details** in the list opens the **Queue Work Delete Details** window. In the image, the Actions menu of a Pending request is open.

 ![Pending Request — Actions › Approve and Initiate](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/b68eceb0-ccfe-41eb-9f6e-369ac2c0b102/work-delete-pending.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261123%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261123T234500Z&X-Amz-Expires=86400&X-Amz-Signature=5a5485534e14e6c9a6918e90e4de9a7f58480de6d635e5e850673120af742c0e&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2160x796")

| Field | Description |
|-------|-------------|
| Process Name, Branch | The process whose works will be deleted and its branch |
| Delete State | Pending, Running, Completed or Failed |
| Created Date Begin / End | The created date range of the works to delete |
| Is Approved, Approved User, Approved Date | Approval information |
| Process Deleted | True if the process was deleted later |
| Idle, Completed, Failed, Expired | Which work states will be deleted. If no state was selected in the request, all four are True. |
| Created / Modified User and dates | The user who opened the request and the last change |

| Action | When visible | Description |
|--------|--------------|-------------|
| Actions › Approve and Initiate | The request is Pending, not approved and the user is an Admin | Approves the request and starts the deletion (see *Flow*). Only Pending requests can be started: *Only pending records can be initiated.* |
| Edit, Delete | The request is Pending and not approved | Changes or deletes the request. |
| Actions › Retry | The request is Failed and the user is an Admin | See *Retrying* |
| Previous / Next, Close | Always       |             |


---

## Retrying

On a failed request, **Actions › Retry** restarts the deletion with the same process, date range and states. After confirming, the message *Retriggered. You will be notified when delete process completed* appears and the Approved User becomes the Admin who retried. Retry is not possible if the process has another pending request.

 ![Failed Request — Actions › Retry](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/7f172ed9-4431-4c67-ba70-eafe4d8f96ae/work-delete-failed.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261123%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261123T234500Z&X-Amz-Expires=86400&X-Amz-Signature=2959b223cb48a58917be43fa23489786893a51db4fac9f5bc2568a89643ac811&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2160x796")


---

## Scope of the Deletion

* Works in **all queues** of the process whose created date is in the range and whose state is selected are deleted.
* Works in the **Running** and **Debugging** states are never deleted.
* The attachments, history and log records, screenshots and files of the works are deleted with them. Deleted works do not appear in any list.
* The records are not removed from the database immediately; if the company's **Set Hard Delete** setting is on, they are deleted permanently after the configured period.
* Queues are not deleted. An emptied queue can be deleted on the [Queue › Queues](/doc/queues-dyqH9BmWjc) screen unless it is a default queue.

> ⚠️ **Warning:** Deleted works cannot be restored from the user interface. Check the process, the date range and the states before approving.

If the process is deleted, its pending requests are deleted too; the other requests are kept with **Process Deleted** True, together with the process name and branch.