Note: This is advanced feature, please contact our support team for a demo.
The autofill feature aims to create the required shifts based on the data of workload averages from previous periods.
Let's suppose the that data represents the number of new support tickets should be processed per hour. Autofill would then create a workload estimate by multiplying each ticket by the number of workforce minutes (WFM) each ticket would required.
Step 1. Find the first hour which has more workload than the number of WFM by plotting the difference of workload minutes against the WFM; as there are no WFM at this point, that's the first hour where there's any load. In that hour you schedule a shift and that shift then removes a 60 WFMs from that hour multiplied by the employee efficiency coefficient also supplied to CakeHR.
Step 2. find the first shift that has unbalanced load — if no such hour was found, go to step 3, otherwise schedule another shift at that hour just like in step 1.
Step 3. find an employee for each of the shifts that were determined to be required by steps 1 & 2. Skip any employees that have an approved time-off request, are marked as unavailable for work, have a shift at that time already or have some other rule (e.g. too many hours worked already at that point).