Error: End time can't be outside of shift

Issue symptoms

When I create an intraday variant in Zendesk Workforce Management (WFM) and add a task, I see the error message: End time can't be outside of shift.

Resolution steps

The error appears when you set up an intraday variant for a fixed shift in Zendesk WFM. In the Can occur between hours of shift field, enter the hours within the shift when the task can occur, not the time of day. If this range exceeds the Length field in the intraday variant's Settings tab, the system displays an error.

For example, if your shift runs from 8:00am to 4:00pm and you want a break between 11:00am and 2:00pm, enter 3:00 and 6:00 in the Can occur between hours of shift field to schedule the break 3 to 6 hours into the shift.