# Creating a Queue in the Orchestrator

To add a new Queue in the Orchestrator, go to the “Queues” screen. This screen contains two tables: “Queues” and “Tasks”.

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-e4482b9a48371da30529d2d8b70d60c0c5214689%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(251).png?alt=media" alt=""><figcaption></figcaption></figure>

Click the “Create” button in the “Queues” table and fill out the opened form.

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-17993dd1d11b88644e156bcbd56b85b7b820a2b5%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(252).png?alt=media" alt=""><figcaption></figcaption></figure>

* The “Name” field (is required);
* The “Description” field (if necessary);
* The “Access Folder” field (access folder for the created queue);
* The “Move to status ‘Abandoned’ tasks that are in status ‘Created’ for more than the specified number of minutes” field (specify the number of minutes);
* The “Move to status ‘Abandoned’, tasks that are in status ‘In Progress’ for more than the specified number of minutes” field (specify the number of minutes);
* The “Maximum number of retries” field (number of retries).

Also, use the flags to set the necessary parameters:

* “Auto-change the status of tasks in ‘In Progress’ to ‘Failed (Application)’ if the related Job has moved to status ‘Failed/Stopped/Interrupted’;
* “Auto-retry tasks in status Failed (Application)”;
* “Auto-retry tasks in status Failed (Business)”;
* “Auto-retry tasks in status Abandoned”;
* “Prohibit adding tasks with duplicate Names”.

After filling out the form, click the “OK” button to save the Queue.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-orchestrator/rabota-v-sherpa-orchestrator/nachalo-raboty-v-sherpa-orchestrator/sozdanie-ocheredi-v-orkestratore.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
