Smart Planning 3 min read

Locking shifts

A locked shift is kept as is by any new generation: Horae builds the rest of the schedule around it. It is shown by a small padlock in the cell.

Locked shifts (padlock)
Locked shifts (padlock)

What is locked automatically

  • Any cell created, edited, pasted or swapped by hand;
  • an agent assigned from Why this gap? or Who can cover?;
  • an open shift given to an applicant.

Shifts produced by a generation, on the other hand, are not locked: the next generation may recalculate them.

Locking everything at once

The Lock button in the action bar locks all unlocked shifts of the displayed period. Its tooltip shows how many shifts are concerned. It is greyed out when everything is already locked.

The “Lock what you want to keep” tip
The “Lock what you want to keep” tip

The action applies immediately, without confirmation. Use it when you are happy with the period's schedule, before running a generation for another part.

An effective method

  1. Generate the schedule.
  2. Edit the cells you are not happy with: they lock themselves.
  3. Run the generation again: only unlocked cells are recalculated, around your choices.
  4. When everything is right, click Lock, then publish.

What the lock does not protect

  • Clear → Clear all also deletes locked shifts (Horae asks for confirmation). Delete unlocked only keeps them.
  • Recording an agent as sick removes all their shifts for the period, locked ones included.
  • Deleting a locked cell is still possible: Horae asks for confirmation.

If a lock cannot be respected at generation (shift closed that day, agent outside their contract), Horae ignores it and tells you: "N locks could not be applied". Check those cells.

To "unlock" a cell, delete it: the next generation will recalculate it.

Was this article helpful?
Previous articleEditing a cell by handNext articleReplacing an absent agent