Eligible when expecting
The Eligible when expecting plugin restricts a time-off type to employees with an expected child — a due date on file. The type opens the configured weeks before the due date and stays open until the birth is confirmed or a pregnancy loss is recorded, closing on that date.
When to use
Use it for leave that belongs to a pregnancy rather than to a child:
- Leave in the weeks before the due date
- Pregnancy-related sickness
Parameters
| Parameter | Description | Default |
|---|---|---|
| Which parent | Birthing parent restricts the type to that parent. Any admits either expecting parent. | Birthing parent |
| Weeks before due date | Open the type only this many weeks ahead of the due date. Leave empty for the whole pregnancy. | Optional |
| Allow extending until birth | Keep the type open past the due date until the birth is confirmed or a pregnancy loss is recorded. Off: it closes on the due date. | On |
How it works
- The employee’s children are checked for one that is expected — a due date with no confirmed birth — in the configured parent role
- The request must start inside the run-up — if Weeks before due date is set — and end no later than the day the birth was confirmed or a pregnancy loss was recorded. While the child is still expected, there is no end.
The window stays open until the birth
The type is for the time before the birth, so it stays open until the birth happens — however late the baby is. When the baby is a week late, her leave can be extended until it arrives — a booking that runs past the due date is accepted. Nothing is extended automatically. Nobody has to move the due date.
This is the Allow extending until birth setting, on for a new rule. With it off, the type closes on the due date instead, and a late birth is handled by moving the due date on the employee’s page. A rule set up before the setting existed keeps closing on the due date until you switch it on.
The window closes on the date the expectancy ends:
- Confirm birth on the employee’s page closes it on the birth date. An early birth closes it before the due date. Leave up to the birth stays valid and can still be corrected afterwards, by the employee or by whoever registers for them.
- Record pregnancy loss on the employee’s page closes it on the date of the loss — for a pregnancy that ends without a birth. The child is kept, so leave already taken stays valid, and its due date is no longer marked on calendars. A record entered by mistake can be removed.
A due date passing still does not turn the child into a born one — only Confirm birth does that.
The parent role has to be recorded
The plugin reads the role entered on the child, rather than guessing from who registered what. If your agreement does not distinguish between parents, set Which parent to Any .
Examples
Leave for the four weeks before the due date
- Add the Eligible when expecting plugin to the policy
- Leave Which parent on Birthing parent
- Set Weeks before due date
to
4
Pregnancy-related sickness, any time during the pregnancy
- Add the Eligible when expecting plugin
- Leave Which parent on Birthing parent
- Leave Weeks before due date empty
Error messages
The plugin tells two situations apart, and the request form treats them differently:
- No expected child on record. The employee is not who this type is for, so the type is not offered on their request form at all. Submitting it another way is refused with a message asking for the expected child and its parent role to be registered on their page.
- An expected child, but not on these terms. The employee is expecting, so the type stays on the form — with the reason written on it, so they know what would have to change:
- inside a configured run-up, a request that is too early says when the type opens and for which due date — they simply need to wait. Whoever registers on the employee’s behalf reads the same dates, and sees the due date marked on the request form’s calendar;
- if the child’s Parent role doesn’t match this setting, the message says so specifically — so you fix the role rather than adding a second child. This is the common case when a child was registered without picking a role.
- a request that runs past a confirmed birth is refused with the birth date, “This type ends on the birth date”, so a wrongly entered birth date can be seen and corrected.
- A pregnancy loss. After the date of the loss the employee is no longer expecting, so the type is not offered for those dates. Submitting it anyway is refused with the date it ended.