# 📋 Works

**Parent page:** Orchestrator › Queue **Audience:** RPA Developers, Operations **Prerequisites:** Developer role; actions depend on your group type (Manager, User, Approval Pending, Viewer) in the work's process


---

## Overview

The **Queue › Works** screen lists the work records that robots process. Each work belongs to a process and to a queue of that process ([Queue › Queues](/doc/queues-dyqH9BmWjc)). Works are created by robots with the [Add Work](/doc/add-work-m4gtOFaANJ) activity, from the **Add Work** menu, by Excel import, from a mailbox or by the process schedule. A robot takes the next eligible work of the process with [Start Work](/doc/start-work-yZnYdAJM2g) and finishes it with [End Work](/doc/end-work-yhjdSd5L2b).

This screen is used to monitor the state of works, retry failed works, approve works waiting for approval and export work data. The [Orchestrator › Works](/doc/works-RcnAUeB7H5) screen, where end users see their own works, is a separate screen.

On this page you will learn:

* Work states and who sees which works
* The Works list, bulk actions and filters
* Work details, the Actions menu and the sub-tables
* Reason windows, editing input and cloning
* The approval flow and deleting works


---

## Work States

| State | Meaning |
|-------|---------|
| Idle  | Waiting to be taken by a robot. New works and works set idle with **Retry** are in this state. |
| Running | A robot took the work and is running it. |
| Debugging | The work is being run from PAW Studio or on a development-type machine. |
| Completed | The work finished successfully or was completed with **Mark Complete**. |
| Failed | The robot finished the work with an error, the run was terminated or **Set Failed** was used. |
| Expired | The idle work could not run within the SLA time of the process. Message: *Could not run within the specified date time*. |

Works also have an **Approval State** (Pending, Approved, Rejected) and an optional **Report State** (Wrong Input, Misoperation, Overlapping). A robot only takes works that are **Approved**, enabled and **Idle**.

### Who sees which works

Permissions depend on your group type for the work's process in the [Process › Groups](/doc/groups-LxqZmQTWTb) screen:

| Group type | Works shown in the list | Operation permission |
|------------|-------------------------|----------------------|
| Manager    | All works of the process | On all works. Approve, reject and report state are available to Managers only. |
| Viewer     | All works of the process | None, view only.     |
| User       | Only the works the user added | On the works the user added |
| Approval Pending | Only the works the user added | On the works the user added; the works the user adds need approval |

In the tables below, "operation permission" refers to the permission in this column.


---

## Works List

 ![Queue › Works — Actions Menu Open](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/4aba481f-c3ae-4930-b5ac-03e8adc68f33/works-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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=555eacdac3a8903e3266326fdbe4e2a13455d52aaf2c9364b64a3ee87d8ae6e0&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2400x2044")

The **Quick Process Access** group in the left menu opens this list filtered by the selected process.

### Top buttons

| Button | Description |
|--------|-------------|
| Delete | Deletes the selected works. Only disabled works that never ran can be deleted: *You can only delete records that are disabled and never ran before.* If one work in the selection does not qualify, none is deleted. |
| Export Input | Downloads the input data of the **Selected Records**, the **Current Page** or the **Current Filter** works as Excel (XLSX, XLS), Open Document (ODS) or Text (CSV). Each process is written to a separate sheet; works without input are skipped. |
| Export Output | Downloads the output data in the same way. The columns are Description, State, Message and the output fields. |
| Export | Exports the list columns in the same formats. |
| Enable | Enables the selected works. |
| Disable | Opens the **Disable Reason** window; **Message** is required. Only **Idle** works are disabled (*Only idle state queue work records can be disabled.*) and the reason is written to the work's Message field. |

### Bulk actions (Actions menu)

Actions apply to the works selected with the check boxes in the list. With nothing selected, the warning *No records selected!* appears. Continue with **Yes** in the confirmation windows.

| Action | Applies to | What it does |
|--------|------------|--------------|
| Set Report State | Works of processes you manage | Opens the **Report State Reason** window (see *Report State*). |
| Clear Report State | Works of processes you manage | Removes the report state; the work's Message field is cleared too. |
| Run Immediately | Idle, approved and enabled works | Opens the **Run Immediately Reason** window (**Message** required). The work is given to the next eligible robot without waiting for its work date; the process must be enabled and within its run time, and a free robot must be available. Works that are not approved are skipped. |
| Mark Complete | Failed     | Opens the **Complete Reason** window (**Message** required). The work becomes Completed and the reason is written to the Message field. In other states: *Only failed state queue work records can be completed.* |
| Approve | Approval state Pending or Rejected; process Manager | The Approval State becomes **Approved**. This action is shown when you are a Manager of at least one process. |
| Reject | Approval state Pending; process Manager | The Approval State becomes **Rejected**; robots do not take the work. |
| Set Failed And Retry | Debugging  | Sets the work to Failed first, then to Idle. |
| Set Failed | Debugging  | Sets the work to Failed; the Message becomes *Set failed by user*. |
| Clone Work | Completed (except works of Schedule processes) | Opens the **Clone Work** window (see *Cloning a Work*). |
| Retry  | Failed, Expired | Sets the work to Idle and increases **Run Number** by one. The resource, start and end date, message, exception type, screenshot and output data of the previous run are cleared; a work date in the past is moved to now. |

> 💡 **Tip:** **Retry**, **Set Failed** and **Delete** apply to the whole selection: if one work in the selection does not qualify, no work changes. **Clone Work** clones the qualifying works and lists errors for the others.

### Row actions

| Action | When enabled | Description |
|--------|--------------|-------------|
| Edit Input | The work is Idle or Failed, the process has a data template and you have operation permission | Opens the input editing window (see *Editing Input*). |
| Details | Always       | Opens the work details window. |
| Delete | The work is disabled, never ran and you have operation permission | Deletes the work. |
| Info   | Always       | Shows the users who created, modified and disabled the record and the dates. |

### Columns

Default columns: Description, Created User, Created Date, Process, Resource, Run Number, Work Date, State, Start Date, End Date, Work Time, Message, Exception Type, Is Triggered, Run Immediately, Is Scheduled, Is Reported, Approval State, Status Note and Note. Modified User, Modified Date, Is Enabled, Disabled User and Disabled Date are added from the column chooser. In the image, only a few columns are left in the list.

* **Is Scheduled:** True if the work was created by the process schedule.
* **Is Reported:** True if no report state was given to the work; the work is counted in reports.

### Filters

The **Work Filters** window opened with **Filters** has four sections:

| Section | Fields |
|---------|--------|
| Filters | Descriptions, Process, Application, State, Related Work Id, Resource, Status Note, Note, Exception Types, Message, Is Enabled, Is Triggered, Run Immediately, Is Scheduled, Input, Output, Additional Data, Is Warned, Is Terminated |
| Date    | Begin–end ranges for Work Date, Warned Date, Terminated Date, Start Date and End Date |
| Approval/Report | Approval State, approval modified date range, Approval Modified User, Is Reported, Report State |
| Create/Modify | Created and Modified User, created and modified date ranges |

The process list contains only the processes you are authorized for. The **Input**, **Output** and **Additional Data** fields search inside the work data.

 ![Work Filters — Filters and Date Sections](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/f76172ac-8c8b-4408-b8fa-d5fae384ae20/work-filters.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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=0f58bcb2f37125d5e3986dbd07b271819d35d5d0be6f775b5048c2b6c7f2c44b&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2140x1464")


---

## Work Details

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

 ![Queue Work Details — Actions Menu](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/b261cfe3-c310-4f19-a581-2cc41cf98265/work-details-actions.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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=97861e92a611443308563817ba2ce9d5a623bae5d4197d694e123c62c8ce112c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2140x1288")

| Section | Fields |
|---------|--------|
| Top     | Description, Process, Queue, State, Run Number, Resource |
| State and time | Status Note, Note, Exception Type, Message, Is Enabled, Is Encrypted, Work Date, Start Date, End Date, Work Time, Total Work Time (sum of all runs), Expire Date |
| Data    | **Input** and **Output** side by side; data is shown as a table and attachments as a file list, with the raw JSON below. The enlarge button opens the data in a separate window. Without data, *No data found in "Output".* is shown. **Additional Data** and **Original Input** (the first input of the work) are collapsed. If a startup parameter was used on the work's resource, a **Startup Parameter** section also appears. |
| Threshold and approval | Warning and termination information, Is Triggered, Run Immediately, Has Attachment, Is Reported, Report State, Approval State, Approval Modified Date, Approval Modified User |
| Record  | Application, Created and Modified User with the dates |

### Detail actions

| Action | Place | When visible | Description |
|--------|-------|--------------|-------------|
| Edit Input | Top bar | The process has a data template, the work is Idle or Failed and you have operation permission | See *Editing Input* |
| Disable | Top bar | While the work is enabled | For an Idle work, if you have operation permission, the **Disable Reason** window opens. |
| Enable | Top bar | While the work is disabled | Enables the work. |
| Delete | Top bar | The work is disabled, never ran and you have operation permission | Deletes the work. |
| Previous / Next, Close | Top bar | Always       | If the window was opened from [Queue Details](/doc/queues-dyqH9BmWjc), **Go Back** is shown instead of **Close**. |
| Get Id | Actions | Always       | Copies the work id to the clipboard. |
| Retry  | Actions | The work is Failed or Expired and you have operation permission | As in the bulk action |
| Set Failed, Set Failed And Retry | Actions | The work is Debugging and you have operation permission | As in the bulk action |
| Mark Complete | Actions | The work is Failed; you are a process Manager or have operation permission | **Complete Reason** window |
| Set Note And Status Note | Actions | The work is not Running and you have operation permission | See *Note and Status Note* |
| Clone Work | Actions | The work is Completed, the process is not Schedule and you have operation permission | See *Cloning a Work* |
| Screenshot | Actions | **Show Screenshot** is on in the process and the work has a screenshot | Opens the last screenshot sent by the robot; clicking the image shows it full screen. |
| Set Report State / Clear Report State | Actions | You are a process Manager; the work has no / has a report state | See *Report State* |
| Run Immediately | Actions | You are a process Manager; the work is Idle, approved, enabled and not yet marked Run Immediately | **Run Immediately Reason** window |
| Approve / Reject | Actions | You are a process Manager; the approval state is Pending (for Approve also Rejected) | Changes the approval state. |
| Go To Related Work, Get Related Work Id | Actions | The work has a related work | Opens the related work or copies its id. |
| Go To Related Works | Actions | Other works are linked to this work | Opens the list with the works linked to this work. |
| Go To Sent Items | Actions | The work sent mail and you can access the **Mail › Sent** screen | Lists the sent mails. |
| Go To Resource History | Actions | The work has a resource history record and you can access the **Resource › Histories** screen | Opens the resource history record. |
| Download Mail | Actions | The work was created from a mail | Downloads the source e-mail file. |

### Sub-tables

 ![Third-Party Tasks, Runs and History](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/5c5e72e2-087d-4a1a-893e-bb9fbcafc9fb/work-sub-tables.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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=2fb81e2d15f60faea865d20b3b50f1b427d951c8fbb0886be255851b81961655&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =2140x1528")

| Table | When visible | Columns | Row actions |
|-------|--------------|---------|-------------|
| Third-Party Tasks | If the work created a third-party task (e.g. document reading) | Name, Application, State, Expire Date, Message | Input, Output; **Retry** if the task is Failed or Expired |
| Runs  | If the work ran at least once; each run is one row | Run Number, Resource, State, Message, Work Date, Start Date, End Date, Work Time | **Logs** (the robot's log records of that run), Input, Output, Screenshot |
| History | Collapsed; each state change is one row | Resource, Run Number, From State, To State, Message, Exception Type, Work Date, Created Date, Start Date, End Date, Work Time, Run Immediately | Details, Input, Output, Screenshot |

Approval, report state, notes and disabling do not change the work's state, so they add no row to History.


---

## Report State

Actions › **Set Report State** opens the **Report State Reason** window. The number in the window title is the number of works the action applies to.

 ![Report State Reason](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/dedc8d06-d8fd-4bca-a4e8-aeb34a5e3567/report-state-reason.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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=ab38c6cba1a5b4be24d5d5518efccaf8dace4986adda39e20682adbfbe3b791b&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =1600x738")

* **Report State** (Wrong Input, Misoperation, Overlapping) and **Message** are required.
* When saved, the work is excluded from reports (**Is Reported** becomes False) and the message is written to the work's **Message** field.
* **Clear Report State** removes the report state and clears the Message field.
* Only users who are Managers in the work's process can use it.


---

## Note and Status Note

The Actions › **Set Note And Status Note** window opens with the current notes of the work. **Status Note** and **Note** are free text and can be left empty. The notes of a Running work cannot be changed. Robots can also fill these fields when adding and running works.

 ![Set Note And Status Note](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/a406920a-3878-4f5f-8f8b-7593ba62e617/8d91404d-af9b-4099-93d5-1aef6bbe0624/note-and-status-note.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=20261123T233000Z&X-Amz-Expires=86400&X-Amz-Signature=4ae927409d8cedadc6014818b905494cc1163de34e0a27d664cae3e0e5c96c65&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =1600x840")


---

## Reason Windows

The **Disable Reason**, **Complete Reason** and **Run Immediately Reason** windows have a single **Message** field, which is required. The saved reason is written to the work's **Message** field, so the list shows who changed the work and why.


---

## Cloning a Work

In the **Clone Work** window, the **Work Date** of the new work is selected. If the date is empty or in the past, the current time is used (*WorkDate is overwritten because it is less than system time.*).

* The current **Input**, the input attachments and the related work information of the source work are copied to the new work.
* The new work starts as Idle with Run Number 1; its approval state is decided by the user who clones it.
* Output, notes and report state are not copied.
* Only Completed works can be cloned; works created by the schedule of Schedule processes cannot be cloned.


---

## Editing Input

The title of the **Edit Input** window is the process name and **Input Data**. The form is built from the current data template of the process and is filled with the work's input; **Work Date** and attachments can also be changed.

* The work must be Idle or Failed: *Record has been changed, you can only update input when it is in idle or failed state.*
* If the work date changes, the work's Expire Date is recalculated from the SLA setting of the process.
* If the work is waiting for approval and you are a process Manager, the **Save and Approve** button is also shown.
* Editing the input does not change the work's state; to run a Failed work again, use **Retry** afterwards.


---

## Approval Flow

* When a work is added, if the user who adds it is in an **Approval Pending** group of the process (and is not a Manager), the work's Approval State is **Pending**. Works added by other users start as **Approved**.
* In Mail Input processes, the approval state of works created from mail comes from the **Mail Work Approval State** setting of the process.
* Pending and rejected works stay Idle but robots do not take them. A rejected work can be approved later.
* Works waiting for approval are also listed in the **Reports › Approval Pending Works** report.
* A work whose SLA time passes can become Expired even if it is not approved.


---

## Deleting Works

* Only **disabled** works that **never ran** can be deleted on this screen (**Delete**).
* To delete the works of a process in bulk by date range and state, a request is created with **Actions › Request Work Delete** in the process details ([Process › Processes](/doc/processes-PiGf9xnK12)). When an Admin approves the request on the [Queue › Work Deletes](/doc/work-deletes-nzXEBszG9y) screen, the works are deleted.


---

## Usage in Robots

| Activity | Relation to works |
|----------|-------------------|
| [Add Work](/doc/add-work-m4gtOFaANJ) | Adds a new work to the process; the state is Idle and the approval state depends on who adds it. |
| [Start Work](/doc/start-work-yZnYdAJM2g) | Takes the next approved, enabled work of the process whose work date has come; the work becomes Running. |
| [End Work](/doc/end-work-yhjdSd5L2b) | Finishes the work as Completed or Failed. The exception type sent is created as a record on the [Queue › Exception Types](/doc/exception-types-KEWpp8isMU) screen. |