Tracking absenteeism and leave manually leads to large, unexpected costs that may threaten the financial viability of the public sector.