Consecutive shift sequences with scope
under review
M
Matej Cimbora (Solutions)
The consecutive constraints in the model currently operate with the day granularity only. That means, if we have the following shifts assigned to an employee:
- Day 1, 18:00 - 22:00
- Day 3 02:00 - 06:00
- Day 4 02:00 - 06:00
This produces 2 daily sequences [Day 1], [Day 3, Day 4], because we look at shift's start times.
Some use cases treat sequences differently. There is a scope (for example 36 hours). If the shifts are not separated by more than the 36-hour limit, they are treated as a single sequence.
In the example above, the shifts would be consecutive, since "Day 1" and "Day 3" shifts are separated by 28 hours.
This is a request to introduce the new scope concept to the "consecutive shifts worked" rules, so that we can express rules like "Maximum 7 consecutive shifts in a sequence".
Moreover, the constraint ideally supports "filtering" case too, such as "Maximum 7 consecutive shifts in a sequence containing one or more night shifts".
Log In
Jurriaan Persyn
marked this post as
under review