Loading

[SFS] How to Avoid Optimization (LS) Errors During Daylight Saving Time (DST) Transitions

게시 일자: Apr 12, 2026
상세 설명
Overview
Daylight Saving Time (DST) transitions can occasionally disrupt scheduling optimization. For instance, the upcoming DST change occurs on March 29, 2026, which may fall within your current optimization horizon.
During a DST transition, clocks either spring forward (creating a "missing" or non-existing hour) or fall back (creating a "doubled" or repeated hour). If the Linear Scheduling (non-ESO) optimizer is tasked with optimizing a horizon that includes these anomalies, it can result in system errors.

Root Cause of DST Optimization Errors
To prevent data corruption and confusing scheduling situations, the Salesforce system blocks scenarios at a low level where tasks interact with DST anomalies. If these blocks were not in place, you might experience severe bugs, such as:
  • The difference between a task's start and end times being larger than the actual task duration.
  • Negative actual durations for scheduled tasks.
Optimization errors specifically occur when:
  1. A record or object holds a date/time value that falls precisely within the "missing" hour created by the DST change.
  2. The scheduling engine attempts to schedule a task during this missing hour dynamically. This often happens if a resource is permitted to work overnight, and there is no specific scheduling rule or Resource Absence (Non-Availability) in place to block the missing hour from their schedule.
솔루션
To avoid potential optimization failures, we highly recommend excluding the DST transition date from your optimization requests entirely.
Instead of running a single optimization job that spans across the DST change, break your optimization periods into two separate requests: one ending before the DST change, and one starting after it.
Example Workaround: If the DST change occurs on March 29, 2026, you should structure your optimization periods as follows:
  • Pre-DST Optimization Run: 03/24/2026 – 03/28/2026
  • Post-DST Optimization Run: 03/30/2026 – 04/02/2026
By manually stepping over the transition date, you ensure the optimizer does not process the missing or duplicated hours, allowing your scheduling engine to run smoothly and without error.
Knowledge 기사 번호

005318367

 
로드 중
Salesforce Help | Article