When you provide ends_at, you can request to unassign the employee from shifts after that date. There are two strategies: all and rotation_group. With all, the employee is unassigned from all shifts after end_at. With rotation_group, the employee is unassigned from all shifts of the shift-system group after ends_at. The unassignment happens as a background job.