> For the complete documentation index, see [llms.txt](https://docs.enate.net/enate-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enate.net/enate-help/ru/poluchenie-novykh-zadach.md).

# Получение новых задач

{% embed url="<https://enate.cdn.spotlightr.com/watch/MTM2MTc3MQ==>" %}

Нажатие на кнопку "Вытянуть из очереди" в заголовке сетки "Входящие" назначит Вам новую работу.

![](https://3327152148-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWYnDNwe3Cuo4zlGbs5%2F-MWqMXrK_ZvY1cj8JBqs%2F-MWqRv4hiUBVt6rGJXr3%2Fimage.png?alt=media\&token=0ae54aa3-e15a-4bc0-afd5-26dc5ed9119f)

### Правила назначения при вытягивании из очереди

**Как система определяет, какой рабочий элемент выдать пользователю, когда он нажимает кнопку «Вытянуть из очереди» в своих Входящих?**

Система работает, просматривая все неназначенные задачи из всех Очередей, к которым привязан пользователь и на которые у него есть права, и назначает одну новую задачу, расставляя приоритеты следующим образом:

1. Все ПРОСРОЧЕННЫЕ на данный момент задачи (сначала самый просроченный элемент). Если ничего не найдено, то
2. Любую задачу, которая была отклонен роботом. Если ничего не найдено, то
3. Любую задачу (задача, которая должна быть выполнена в ближайшее время, выбирается первой).

{% hint style="info" %}
Примечание: Очереди, установленные в «строгий режим», существуют для того, чтобы распределять работу строго между роботами. Любые пользователи-люди, связанные с такими очередями, находятся там только в качестве запасного варианта для отклоненных роботом задач и не получают автоматически обычные, не отклоненные задачи из них при нажатии кнопки «Вытянуть из очереди».
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.enate.net/enate-help/ru/poluchenie-novykh-zadach.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
