Skip to main content
Softly steers targeted members toward shift patterns at a specific location.

Parameters

string
required
The location to prefer

Returns

RuleEntry<"location-preference", object & EntityOnlyRuleOptions> Penalizes assignment to shift patterns whose locationId does not match the preferred location. Use priority to control preference strength. The member is still assigned elsewhere when coverage or hard constraints require it.