---
metadata:
  - name: generator
    content: Diplodoc Platform v5.47.3
alternate:
  - https://yandex.com.tr/support/tracker/en/hr-process-vacations-queue.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/tracker/en/llms.txt

# Setting up regular reminders

For your employees to be able to easily submit a vacation or sick leave in advance, create a queue and a request form and configure request status auto checks with a reminder to be sent to the HR staff should they fail to start processing the request on time.

## Create a queue {#create-queue}

1. [Create a queue](https://yandex.com.tr/support/tracker/en/manager/create-queue.md) using the **HR processes** template.
1. Enter a name for the queue. For example: `Vacations Queue`.
1. Set up a workflow for the `Vacation` issue type.
1. Create additional issue types and workflows if needed.

## Set up a request form {#configure-process}

### Create a form {#create-form}

1. In the left-hand panel, click <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><path fill="currentColor" fill-rule="evenodd" d="M7.873 13.125a.875.875 0 1 1-1.75 0V7.87H.875a.875.875 0 0 1 0-1.75h5.248V.874a.875.875 0 1 1 1.75 0V6.12h5.249a.875.875 0 0 1 0 1.751H7.873v5.255z" clip-rule="evenodd"/></svg></svg> **Create issue**.
1. Under **Try Yandex Forms for creating issues**, click **Create form**.
1. Create a new form:
	* Name it `Vacation request`.
	* Add a description, e.g., `Form for vacation requests`.
	* Click **Next**.
1. Wait for the page to load and click **Yandex Forms full version**.
1. Create a request form, e.g., with the following fields:
	* `Full name` (short text, required field).
	* `Department` (short text, required field).
	* `Vacation type` (drop-down list, required field). Add options to the list, such as:
		- Paid leave
		- Unpaid leave
		- Maternity leave
		- Sick leave
	* `Start` (date, required field)
	* `End` (date, required field)
1. Add other fields if needed.

### Set up integration with Yandex Tracker {#integrations}

1. Click **Configure integrations** and wait for the page to load.
1. In the **Issue type** field, select `Vacation`.
1. In the **Header** field, click <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><path fill="currentColor" fill-rule="evenodd" d="M7.873 13.125a.875.875 0 1 1-1.75 0V7.87H.875a.875.875 0 0 1 0-1.75h5.248V.874a.875.875 0 1 1 1.75 0V6.12h5.249a.875.875 0 0 1 0 1.751H7.873v5.255z" clip-rule="evenodd"/></svg></svg> and select **Response**. In the dialog box, select **Vacation type** in the **Question** field and click **Save**.
1. In the **Description** field, click <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><path fill="currentColor" fill-rule="evenodd" d="M7.873 13.125a.875.875 0 1 1-1.75 0V7.87H.875a.875.875 0 0 1 0-1.75h5.248V.874a.875.875 0 1 1 1.75 0V6.12h5.249a.875.875 0 0 1 0 1.751H7.873v5.255z" clip-rule="evenodd"/></svg></svg> and select **Responses**. In the dialog box, click **Select all** and choose **Formatted** in the **Response formatting** field. Click **Save**.
1. Click **Add issue parameters** and select the **Deadline** option using the search field.
1. Use the **Deadline** field to add an answer to the `Start` question.
1. Click **Save** to save the form.
1. Return to the form builder by clicking **To builder** at the top of the page.
1. Click **Publish** and copy the link to the form in the dialog box.
1. Return to the `Vacations Queue` settings and click **Form integration**.
1. Click **Add form** and fill out the form that opens pasting the link you copied earlier into the **Link to form** field.
1. Click **Save** to save the form integration.

## Set up an auto action {#create-autoaction}

Tracker has the [auto actions](https://yandex.com.tr/support/tracker/en/user/create-autoaction.md) feature to perform regular actions in a queue. Use an auto action to set up regular checks of the `Vacations Queue` for requests that work is not started on yet. To avoid overloading the employees responsible for registration of vacations with reminders, configure them to be sent once a day and not earlier than two weeks prior to the vacation start date specified in the request.

1. Click <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" aria-hidden="true" class="yc-icon nv-aside-header-footer-item__icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="currentColor" fill-opacity=".85" fill-rule="evenodd" d="M8.875 2.125h2.25a.5.5 0 0 1 .5.5v.23c0 1.925 2.083 3.128 3.75 2.165l.2-.115a.5.5 0 0 1 .682.183l1.125 1.949a.5.5 0 0 1-.183.683l-.2.115c-1.666.962-1.666 3.368 0 4.33l.2.115a.5.5 0 0 1 .183.683l-1.125 1.949a.5.5 0 0 1-.683.183l-.199-.115c-1.667-.963-3.75.24-3.75 2.165v.23a.5.5 0 0 1-.5.5h-2.25a.5.5 0 0 1-.5-.5v-.23c0-1.925-2.083-3.128-3.75-2.165l-.2.115a.5.5 0 0 1-.683-.183l-1.125-1.949a.5.5 0 0 1 .183-.683l.2-.115c1.667-.962 1.667-3.368 0-4.33l-.2-.115a.5.5 0 0 1-.183-.683l1.125-1.949a.5.5 0 0 1 .683-.183l.2.115c1.667.963 3.75-.24 3.75-2.165v-.23a.5.5 0 0 1 .5-.5zm-2 .5a2 2 0 0 1 2-2h2.25a2 2 0 0 1 2 2v.23a1 1 0 0 0 1.5.866l.2-.115a2 2 0 0 1 2.731.732l1.125 1.949a2 2 0 0 1-.732 2.732l-.2.115a1 1 0 0 0 0 1.732l.2.115a2 2 0 0 1 .732 2.732l-1.125 1.949a2 2 0 0 1-2.732.732l-.199-.115a1 1 0 0 0-1.5.866v.23a2 2 0 0 1-2 2h-2.25a2 2 0 0 1-2-2v-.23a1 1 0 0 0-1.5-.866l-.2.115a2 2 0 0 1-2.732-.732l-1.125-1.949a2 2 0 0 1 .732-2.732l.2-.115a1 1 0 0 0 0-1.732l-.2-.115a2 2 0 0 1-.732-2.732l1.125-1.949a2 2 0 0 1 2.732-.732l.2.115a1 1 0 0 0 1.5-.866v-.23zM12.25 10a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0zm1.5 0a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0z" clip-rule="evenodd"/></svg></svg> **Queue settings** in the top right corner of the `Vacations Queue` page.
1. Select **Automation** in the left-hand panel.
1. In the top right corner, click **Create** → **Auto action**.
1. In the **Name** field, enter a name for the auto action, such as `Vacation reminder`. You can add a description below the name.
1. In the **Auto action type** field, enable **Issue update**.
1. Under <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M6.25 0a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5ZM13 9A5 5 0 1 1 3 9a5 5 0 0 1 10 0Zm1.5 0a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0Zm-2.28-7.28a.75.75 0 0 1 1.06 0l1.5 1.5a.75.75 0 0 1-1.06 1.06l-1.5-1.5a.75.75 0 0 1 0-1.06ZM8.75 6a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 .3.6l1.333 1a.75.75 0 1 0 .9-1.2L8.75 8.625V6Z" clip-rule="evenodd"/></svg> **Trigger schedule**, set the update frequency to once a day (for testing purposes, once an hour is recommended).
1. In the header of the <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M12.5 4c0 .174-.071.513-.885.888C10.8 5.263 9.538 5.5 8 5.5c-1.538 0-2.799-.237-3.615-.612C3.57 4.513 3.5 4.174 3.5 4c0-.174.071-.513.885-.888C5.2 2.737 6.462 2.5 8 2.5c1.538 0 2.799.237 3.615.612.814.375.885.714.885.888Zm-1.448 2.66C10.158 6.888 9.114 7 8 7s-2.158-.113-3.052-.34l1.98 2.905c.21.308.322.672.322 1.044v3.37c.06.012.141.021.25.021.422 0 .749-.14.95-.316.185-.162.3-.38.3-.684v-2.39c0-.373.112-.737.322-1.045l1.98-2.904ZM8 1c3.314 0 6 1 6 3a3.24 3.24 0 0 1-.563 1.826l-3.125 4.584a.354.354 0 0 0-.062.2V13c0 1.5-1.25 2.5-2.75 2.5s-1.75-1-1.75-1v-3.89a.354.354 0 0 0-.061-.2L2.563 5.826A3.242 3.242 0 0 1 2 4c0-2 2.686-3 6-3Zm-.88 12.936c-.01-.005-.014-.009-.013-.01l.013.01Z" clip-rule="evenodd"/></svg> **When the issue matches** section, select **QL query**.
1. Using the [query language](https://yandex.com.tr/support/tracker/en/user/query-filter.md), enter the following in the field below:

	```
	Deadline: <= today() +14D Status: New
	```

	The condition will trigger for an issue with a vacation start date within the next two weeks which is still in the **New** status.
1. Under <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2 7.25a.75.75 0 0 0 0 1.5h5.69l-2.72 2.72a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-1.06 1.06l2.72 2.72H2Zm7.47 4.22a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 1 0-1.06 1.06L12.94 8l-3.47 3.47Z" clip-rule="evenodd"/></svg> **Perform actions**, select **Add comment to issue**.
1. In the comment section, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.219.531A7.49 7.49 0 0 0 2.78 2.625 7.56 7.56 0 0 0 .5 8.063c0 3.687 2.719 6.906 6.375 7.437H7c.344 0 .656-.25.719-.625a.741.741 0 0 0-.625-.844C4.187 13.594 2 11.031 2 8.062c0-1.656.625-3.218 1.813-4.343C5 2.563 6.5 1.969 8.155 2.03 11.375 2.125 14 4.937 14 8.344v.594c0 .75-.625 1.374-1.375 1.374a1.367 1.367 0 0 1-1.375-1.374V5.28c0-.406-.344-.718-.75-.718a.771.771 0 0 0-.75.625 3.23 3.23 0 0 0-2-.688c-1.938 0-3.5 1.594-3.5 3.5 0 1.875 1.563 3.469 3.5 3.469.938 0 1.813-.406 2.438-1.031.53.78 1.406 1.312 2.437 1.312A2.887 2.887 0 0 0 15.5 8.875v-.531C15.5 4.156 12.219.625 8.219.53zM7.75 10c-1.125 0-2-.875-2-1.969s.875-1.969 2-1.969c1.094 0 2 .907 2 1.97 0 1.093-.906 1.968-2 1.968z"/></svg></svg> **Invite** and select employees responsible for vacation registration.
1. In the comment field, add the following text:
	```
	Vacation is not registered! Deadline: "{{issue.dueDate}}".
	```
1. To save an auto action, click **Save**.

## Test the auto action {#check-autoaction}

1. On the issue creation page, select **Never** in the **Allow issues to be created without a form** field at the top right.
1. Select the widget named `Vacation`.
1. Fill out the form. In the **Start** field, specify a date that is a week from now.
1. Submit the form.
1. Make sure that, after the deadline specified in the auto action, the comment you set previously appears in the issue.