Skip to main content
function maxConcurrentAssignments(assignments, opts?): RuleEntry<"max-concurrent-assignments", object & MaxConcurrentAssignmentsOptions>;
Caps how many targeted assignments may overlap at the same time.

Parameters

assignments
number
required
Maximum number of concurrent overlapping assignments.
opts
RuleOptions & objectOptional scope and time-window settings.

Returns

RuleEntry<"max-concurrent-assignments", object & MaxConcurrentAssignmentsOptions> Use this for hard productive capacity limits that should stay separate from the minimum staffing requirement expressed by cover. Pair a lower-bound cover(...) with maxConcurrentAssignments(...) when the business needs both demand and capacity modeled explicitly. On days with staggered opening and closing shifts, keep lower-bound coverage scoped to the windows that truly need minimum staffing. Do not turn a total daily headcount target into a whole-day lower-bound cover(...) unless the business explicitly requires that many people in every overlapping bucket. Unlike maxShiftsPerDay, this limits simultaneous overlap, not total assignments on a day.