Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Field Service - O2TravelAndBreaksUtils Apex Jobs are being Aborted

公開日: Sep 14, 2026
説明

Users might notice that the apex jobs of class O2TravelAndBreaksUtils are being aborted.

解決策

The O2TravelAndBreaksUtils job recalculates travel and break times in Field Service whenever a Service Appointment schedule or its Assigned Resource's Service Resource changes. If both of these updates on Service Appointment and Assigned Resource are done in the same transaction, it leads to creation of 2 jobs of O2TravelAndBreaksUtils, and the first one is aborted.

Example:

A custom Apex trigger updates the Service Appointment's scheduled dates and then updates the Assigned Resource's service resource in the same transaction. This causes:

  • The SA update to enqueue an O2TravelAndBreaksUtils job (Job A) to recalculate travel and breaks.
  • When the Assigned Resource update fires in the same transaction, the FSL managed package detects that a travel recalculation job is already queued. It intentionally aborts the first job, merges the Service Appointment schedule time changes and Assigned Resource data into a single job (Job B).

Why the Job Is Aborted
This abort-and-merge behavior is intentional — it is done to prevent the overlap. It does not cause data loss.

その他のリソース
ナレッジ記事番号

005459965

 
読み込み中
Salesforce Help | Article