# Deadline render farm plugin for studios

How to connect a Truetask workspace to a Deadline render farm, work its jobs from the Renders page, link people to farm users and open render output.

URL: https://docs.truetask.io/plugins/deadline

The Truetask Deadline plugin connects a workspace to the studio's Deadline render farm.
It adds a **Renders** page laid out the way Deadline Monitor lays a farm out, with the farm's jobs, the chosen job's tasks and the workers in panels, and the actions an artist or a wrangler takes in the Monitor.

[AI agents](https://docs.truetask.io/agents/) read and act on the same farm through the plugin's tools, under a farm user of their own rather than their owner's.

> **Two kinds of task**
>
> Deadline splits a job into tasks, each a range of frames.
> On this page **Tasks** means those, never Truetask tasks.

## Install and connect

A workspace owner or admin installs it once:

1. Open the **App menu**, choose **Integrations** under **Extend**, and find **Deadline** under **Rendering & pipeline**.
2. Open its card, read what it asks for, and click **Install**.
   See [Installing and managing plugins](https://docs.truetask.io/plugins/installing).
3. On its page, click **Turn on**, then **Open Deadline settings**.
4. Fill in the **Connection** tab, click **Save**, and click **Check connection**.

The settings have three tabs: **Connection**, **Users** and **Paths**.

![Truetask Deadline settings on the Connection tab, with Which Deadline, Web Service address, sign-in, read interval and Check connection](https://docs.truetask.io/screenshots/plugin-settings-deadline.webp)

| Setting | What it does |
| --- | --- |
| **Which Deadline** | **Deadline 10 (Web Service)**. **AWS Deadline Cloud** is in the list, and its help line says it is not supported yet. |
| **Web Service address** | Where the farm's Web Service answers: a host name or address, with its port if it is not the usual 8081. The Web Service speaks plain HTTP, so keep it on a trusted network. |
| **Username**, **Password** | Only if the Web Service asks for sign-in. The password is stored encrypted and never shown again. |
| **Read every (seconds)** | How often the farm is read while somebody has the Renders page open. 60 at least. See [How the farm is read](https://docs.truetask.io/plugins/deadline#how-the-farm-is-read). |
| **Version key** | The key in a job's extra info that holds its version, for the **Version** column. |
| **Artists can manage their own renders** | Whether people can suspend, resume and requeue the jobs they submitted without being an Editor. On by default. |

**Check connection** reports **Working** with the farm's pools and groups, or **Not working** with what refused it: a wrong password, a Web Service that is not running, or a workspace that may not reach the address.

## Reach a farm on your studio network

A farm on the studio's own network is at a private address, which a workspace does not reach by default.

> **Self-hosted only**
>
> Turn on **Allow private network targets** in **Settings > General > Network** when the server can reach the farm.
> **Check connection** names that setting when it is what refused the call.
> See [Network policy](https://docs.truetask.io/self-hosted/network).

On Truetask Cloud, or when the server cannot see the farm, a computer on the studio network carries the calls.
Pair a computer that can reach the farm with [Truetask Helper](https://docs.truetask.io/helper/), then a workspace admin opens it under **Truetask Helper** in Integrations, goes to its **Network** tab, and adds the farm's host under **What it reaches for the workspace**.
The plugin's calls to that host then go out from that computer, the plugin itself does not change, and every call carried that way is in the audit log.

## Link people and agents to farm users

The **Users** tab lists the farm's users, and each row says who that farm user is in this workspace.
Linking changes nothing on the farm: it is what lets a linked person's jobs show their face and name, count in **My jobs**, and be theirs to manage.

- Pick the person or agent in the row's picker, **Choose who this is**.
- A likely match by account name, email or name is suggested in the row, shown faded with **Suggested** and the reason, such as **same account name**.
  Picking it is the link.
- The button over the list, such as **Link 3 suggested**, links every suggestion at once.
- **All** and **Linked** switch between every farm user and the linked ones; farm users who have submitted jobs are marked **has jobs**.
- **Unlink** removes a link.

One farm user belongs to one person or agent, but a person can be several farm users, since Deadline often spells one person more than one way.
A link to a farm user the farm no longer lists stays, marked **Not on the farm**, so a renamed user never hands the old link to someone else.
Someone who leaves the workspace frees their farm users.

An agent is linked to a farm user of its own, never its owner's, so the farm's history and the audit log never put the owner's name on something an agent did.

The tab's top line tells you which farm user you are, such as **On this farm you are** and your farm user name.
Linking is done by the plugin's admins.

## Pair the farm's paths with storage roots

The farm writes paths its own machines understand, such as a Windows drive letter, which nobody on a Mac can open.
The **Paths** tab pairs each folder the farm writes to with one of the workspace's storage roots, so a render's files open on any computer.

- The tab lists the folder prefixes the plugin has seen in renders, each with how many paths it was seen on.
  Where a storage root matches a prefix, that root is already picked as a suggestion.
- Keep the suggestion or pick another root with **Pick a storage root**, and click **Pair**.
  **Unpair** undoes it.
- With no storage roots yet, the tab says so and offers **Add a storage root**, which opens Truetask Helper's storage roots in Integrations.

Nothing is paired on its own: a suggestion waits for an admin's **Pair**.
See [Folders and storage roots](https://docs.truetask.io/helper/folders).

## The Renders page

**Renders** sits in the sidebar's **Workspace** section, at `/page/deadline/renders`.
It starts as Deadline Monitor does: **Jobs** beside **Tasks**, over **Workers**.
**Details**, **Reports** and **Queues** are closed until you open them from **Panels** on the view row.
Resize, swap, dock and fill the page with any of them, and save the arrangement as a view; see [Plugin pages and settings](https://docs.truetask.io/plugins/pages).

| Panel | What it shows |
| --- | --- |
| **Jobs** | Every job on the farm, each marked with its application's icon. Its header counts jobs by state (rendering, queued, failed, and the others when there are any), and each count is a filter. |
| **Tasks** | The chosen job's tasks, under a frame chart of each task's render time in frame order: a click on a column picks that task. Its header names the job, how many tasks are done, how many failed and what a task typically takes. |
| **Workers** | Every machine the farm renders on, each with an **Activity** lane of its recent hours, under a **Whole farm** row of how many were rendering and idle over time. Its header counts machines by state, and each count narrows the list. Clicking a rendering worker shows its job. |
| **Details** | The chosen job's facts, read from the farm when you choose it, its files, and **Suspend**, **Resume**, **Requeue** and **More**. |
| **Reports** | What the farm wrote down about the chosen job: its logs, errors and requeues, and the folder the report files are in. |
| **Queues** | The farm's pools and groups, with the jobs in each, how many are rendering and how many workers serve it. |

The **Jobs** table has **Job**, **User**, **Errors**, **Progress**, **Status**, **Timeline**, **Priority**, **Pool**, **Group** and **Submitted**, and keeps **Comment**, **Started**, **Ended**, **Frames**, **Renderer**, **Department**, **Batch** and **Version** hidden until you show them.
**User** shows a linked person's face and name, and the farm's own name for anyone not linked.
**Timeline** shows how long each job waited, how long it has rendered and, for a running job, where it should end at the pace it has kept so far; it starts on **3 days**.

### The view row

From the left:

- The saved views menu.
- The state picker, **Any state** until you pick one.
- **My jobs**: the jobs submitted as your farm users.
  Before an admin links you, it uses the farm user whose name matches yours, and says so in its tooltip.
- The filter funnel, with **My jobs** among its saved filters and **Queue**, **Group** and **Owner** under **Filter by**.
  Save and share filters as on any [plugin page](https://docs.truetask.io/plugins/pages#saved-views-and-filters).
- How fresh the page is: **Read** and how long ago, **Not read yet**, or **Not answering, last read** and when, with the farm's own reason in its tooltip.
- **Search**.

## Act on jobs and tasks

Choose a job by clicking it.
Cmd or Ctrl-click and Shift-click choose several, and a bar floats over the bottom of the page with **Suspend**, **Resume**, **Requeue**, **More** and **Clear**; Escape clears the choice.
One job is acted on from its right-click menu or the **Details** panel.

| Action | What it does |
| --- | --- |
| **Suspend**, **Resume**, **Requeue** | The everyday three, on one job or a selection. |
| **Priority** | Sets the priority to 100, 75, 50, 25 or 0. |
| **Queue**, **Group** | Moves the job to one of the farm's pools or groups. |
| **Archive** | Moves the job to the farm's archive. Asks first. |
| **Remove** | Takes the job off the farm. Deadline 10 keeps it until it is purged, so it can be undeleted. Asks first. |

Deadline 10 has no cancel, so to stop a job you suspend it or remove it.

Right-click tasks in the **Tasks** panel to **Suspend**, **Resume** or **Requeue** just those tasks; the rest of the job is untouched.

What happened is said in a toast.
When the farm refuses an action for a job, the toast quotes the farm's own words for it.

### Who can act

The Renders page is shared like a board, and its levels decide who can do what.
See [Share a plugin page](https://docs.truetask.io/plugins/pages#share-a-plugin-page).

| Level | What it allows | Starts for |
| --- | --- | --- |
| **Viewer** | See the renders and the workers. | Users |
| **Editor** | Also suspend, resume, requeue and reprioritize renders, and move them between pools and groups. | Leads |
| **Admin** | Also archive and remove renders, and set the plugin up. | Owners and admins |

Guests start with no access.

Two more rules:

- **Your own jobs.** A Viewer can suspend, resume and requeue the jobs their own farm user submitted, while **Artists can manage their own renders** is on.
- **A farm user to act as.** Acting needs a linked farm user, whatever your level.
  Without one you read the farm and the actions are off, with the reason: an admin links you on the **Users** tab.

An action you may not take stays in the menu, disabled, with the reason under it.

Every action that reaches the farm leaves a row in the [audit log](https://docs.truetask.io/admin/security#audit-log), naming the person or agent, their farm user and the job.
Deadline's own history does not record who asked, so the audit log is where to look.

## Open render files on your computer

The **Details** panel lists a job's **Files**: its output folder, its frames and its scene.
The **Reports** panel lists the **Report files** folder.

- **Open** opens it on your own computer through [Truetask Helper](https://docs.truetask.io/helper/), once a storage root covers the path.
  If Truetask Helper is not on your computer yet, Truetask offers to install it.
- **Copy the path** copies it instead, when no storage root covers it yet.
  A line says so: **No storage root covers these paths yet, so they can be copied but not opened.**

An admin fixes that on the **Paths** tab (see [above](https://docs.truetask.io/plugins/deadline#pair-the-farm-s-paths-with-storage-roots)).

## How the farm is read

The farm is read once for the whole workspace, and every open Renders page shows what that read found, so ten people on the page cost the farm what one does.

- While somebody has the Renders page open, the farm is read every **Read every (seconds)**, 60 at the least.
- When nobody has had the page open for ten minutes, it is read every ten minutes.
- A job's details, tasks and reports are read from the farm when you choose the job.
  When the farm does not answer, **Details** shows what was last read and when.

The reading is the plugin's scheduled work: on its page in Integrations it is **Read the farm**, under **What it runs on a clock**, with **Run now**.
A read only happens when one is due, so with a long **Read every** setting, **Run now** can find nothing to do.

When the farm stops answering, the view row says **Not answering** with when it was last read, and the plugin is marked **Needs attention** in Integrations with the farm's reason.
It clears on the next read that works.

## Agents and the farm

The plugin's actions are agent tools, so an agent with access to the Renders page reads the same jobs, tasks, workers and queues and acts on them: `plugin_deadline_list_renders`, `plugin_deadline_get_render`, `plugin_deadline_list_slices`, `plugin_deadline_list_workers`, `plugin_deadline_list_queues`, `plugin_deadline_act_on_renders`, `plugin_deadline_act_on_slices` and the rest.
`plugin_deadline_what_you_may_do` tells an agent what it may do and why not before it tries.

- An agent is given the Renders page by its owner, up to the owner's own level, on **Share page**.
- An agent acts as its own linked farm user, never its owner's; an agent with none can read the farm and not act on it.
- An agent given **Admin** can set the plugin up, links and paths included.

## Related

- [Plugins](https://docs.truetask.io/plugins/)
- [Plugin pages and settings](https://docs.truetask.io/plugins/pages)
- [Truetask Helper](https://docs.truetask.io/helper/)
- [Apps and actions](https://docs.truetask.io/helper/apps-and-actions)
