Skip to content

Absence registration

Registers a daily entry for each ongoing open-ended period of time off so that yesterday’s day is recorded against the right activity.

How it works

When an employee starts open-ended time off (for example, ongoing sickness with no fixed return date), it stays “active” until the employee returns. This job runs daily and registers an entry for yesterday on the activity linked to the time off:

  1. Finds active periods — employees with at least one open-ended period of time off in progress
  2. Registers yesterday — for each active period that started before yesterday, a registration is created for yesterday’s date
  3. Safe to repeat — each registration is identified by employee, activity and date, so running the job again on the same day changes nothing

Registering yesterday (rather than today) gives the employee a window to come back to work and interrupt the time off before the day is registered. The first day is registered by the request itself, and when the time off is ended, the whole period is registered once more as a final safety net.

When it runs

The job runs automatically and only triggers on workspaces that have at least one active open-ended period of time off.

Parameters

This job has no parameters.

Job results

MetricDescription
entries_registeredNumber of yesterday’s days that were newly registered
errorsNumber of failures during registration

Troubleshooting

IssueSolution
Days missing on open-ended time offRun the job manually with the run date set to the day after the missing one — catch-up runs never register a day twice
Active period without an activityNothing is registered for the period. Verify the time off policy behind that time off has an activity configured