# Правило для срока активности пропуска

С помощью правила можно задать максимальный срок активности пропуска. Больше заданного значения оператор не сможет оформить пропуск.

> Например, задан срок активности - 5 дней. Выдать пропуск можно с 1 ноября по 6 ноября, если оператор выберет дату окончания - 7 ноября, дата автоматически переставится на 6 ноября.

<figure><img src="/files/uOCCSZGKLfZlESjZP0PJ" alt="" width="563"><figcaption><p>Пример правила, позволяющего задать срок активности пропуска</p></figcaption></figure>

<figure><img src="/files/496kEuT9zNKcAxyekdhT" alt="" width="563"><figcaption><p>Пример правила, позволяющего задать максимальный и минимальный срок активности пропуска</p></figcaption></figure>


---

# 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.aamsystems.ru/passoffice/passoffice-guide/admin-guide-doc/konfigurirovanie/editor-rule-base/pravilo-dlya-sroka-aktivnosti-propuska.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.
