Schedule Cleanup Task

You can use the Schedule Cleanup Task to adjust employee schedules as a response to an event. For example, you can anable employee termination cleanup to unassign employees from MVS shifts starting on their termination date. The Schedule Cleanup task is run on a recurring schedule according to the customer's business needs. For example, you can schedule a task outside business hours on a daily or weekly basis. Running the Schedule Cleanup Task ensures that schedules are cleaned up as relevant events occur. You can also use the Schedule Cleanup Task for manual corrections, such as when employees being terminated in error.

When a triggering event occurs, a row is added to the Schedule Cleanup maintenance form with a status of READY. This row includes the affected employee and the start and end dates for the schedule cleanup. The next time the task runs, the Schedule Cleanup is processed for each row with a status of READY. You can update the status of a schedule cleanup process to put the process on hold, and reset the status of a failed schedule cleanup to retry the process.

See Schedule cleanup status.

When the clean up process is complete, a Workmail notification is sent to users with the team permissions specified in the Roles to Notify task parameter. This notification includes details of the schedule cleanup, including the affected employee and the result of the schedule cleanup process. The home team of the employee that is undergoing the schedule clean up process is used to determine which employees to notify. For example, the Cardio team supervisor is notified for a schedule clean up that is performed after an employee on the Cardio team is terminated.

You can set up the Schedule Cleanup Task and view its logs in the Job Scheduler.

See Setting up the Schedule Cleanup Task.