# Как работает распределение на ответственного, если разные ответственные в Сделке и в Контакте?

Работает по правилам Битрикс24:

* Если есть сделка открытая, то на ответственного в сделке (последней созданной).
* Если открытых нет, то на ответственного в контакте.

Если нет контакта клиента в CRM (в системе управления взаимоотношениями с клиентами), то распределяется на того, кто указан в разделе Очереди в настройках Открытой линии.

Именно таким образом работает распределение на ответственного по правилам Битрикс24, этим управляет не наше приложение.


---

# 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.olchat.io/voprosy-i-otvety/interfeisy-bitriks24/kak-rabotaet-raspredelenie-na-otvetstvennogo-esli-raznye-otvetstvennye-v-sdelke-i-v-kontakte.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.
