# Reminders

> Course reminders in Uspacy: a comment in the training assignment card about a new assignment, the deadline and overdue courses, custom texts with variables.

Source: https://auspex.company/en/docs/lms/reminders/

The module reminds an employee about a course with a comment in their «Призначення навчання» («Training assignments»)
card that mentions the employee. Uspacy shows such a comment under the bell and, if the employee has email
notifications turned on in their profile, also sends an email. The whole history of reminders stays in the card: you can
see when and what the employee was reminded about.

For an employee to be able to open the card from a notification, the «Employee» (Співробітник) role needs the «View: Own»
(Перегляд: Свої) permission on «Призначення навчання» — see
[Quick start](https://auspex.company/en/docs/lms/quick-start/#step-2-give-employees-access-to-the-cards).

## When reminders arrive

| Reminder | When |
|---|---|
| **New assignment** | right after the course is assigned |
| **7 days before the deadline** | at 09:00 seven days before the deadline day |
| **3 days before the deadline** | at 09:00 three days before the deadline day |
| **On the deadline day** | at 09:00 on the deadline day |
| **Overdue** | at 09:00 the day after the deadline, if the course is not completed |
| **Course completed** | after the course is completed successfully; the comment mentions the employee and the course curator so that the curator sees the result. The curator is set in the course settings; without one, it is the course author (see [Courses and the builder](https://auspex.company/en/docs/lms/courses/#course-settings)) |

- Without a deadline, only «New assignment» and «Course completed» arrive.
- Reminders whose time has already passed at the moment of assignment are not sent. For example, a course with a
  deadline in two days does not get the «7 days» reminder. The exception is «Overdue»: if the course becomes overdue after
  09:00 on the following day, the reminder arrives at once.
- As soon as the course is finished (passed or failed), the deadline reminders are cancelled.
- Time and day are counted in the time zone from **Settings** → **General** (Europe/Kyiv by default).

## Reminder texts

Administrators and HR change the texts on the **Settings** → **Notifications** tab. It has six fields — one for each
reminder in the table above. Change only the ones you need: the rest stay at the default in the portal language.

You can use variables in the text — the module replaces them with values:

| Variable | What is inserted |
|---|---|
| `{ПІБ}` | the employee’s first and last name |
| `{Курс}` | the course title |
| `{Дедлайн}` | the deadline date or «not set» |
| `{Посилання}` | a link to the course on the **Learning** page |
| `{Модуль}` | the module where the employee stopped |

Default texts (for the English portal language):

| Reminder | Text |
|---|---|
| New assignment | You have been assigned a new course "{Курс}". Deadline: {Дедлайн}. {Посилання} |
| 7 days before the deadline | Reminder: 7 days left until the deadline for the course "{Курс}" ({Дедлайн}). You are currently on "{Модуль}". {Посилання} |
| 3 days before the deadline | Reminder: 3 days left until the deadline for the course "{Курс}" ({Дедлайн}). You are currently on "{Модуль}". {Посилання} |
| On the deadline day | Today is the deadline for the course "{Курс}". You are currently on "{Модуль}". {Посилання} |
| Overdue | The course "{Курс}" is overdue. You stopped at "{Модуль}" - please finish as soon as possible. {Посилання} |
| Course completed | Congratulations! You have completed the course "{Курс}". |

Click **Save**. An empty text is not saved. A changed text gets a «Reset to default» button next to it, which restores
the default text. A text can be up to 2,000 characters.

## Language and links

- The module writes the default texts in the language from **Settings** → **General** → **Portal language**. Changed
  texts are sent exactly as you wrote them.
- `{Посилання}` leads to the address of the **Learning** page from the **Menu item path** (`/lms` by default). If the
  menu item on your portal opens at a different address, change the path — see [Settings](https://auspex.company/en/docs/lms/settings/#general).

## If a reminder did not arrive

- Check the **Settings** → **Journal** tab: the **Reminders** queue and the errors next to it. The module retries failed
  attempts on its own for several hours.
- Check that Uspacy has a «Призначення навчання» card for this employee: the reminder is sent only to that card.
- The email and the bell depend on the notification settings in the employee’s own Uspacy profile.
