Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Actual Start Time and Actual End Time Fields Are Blank in Salesforce Field Service

公開日: May 12, 2026
説明

In Salesforce Field Service (SFS), the Service Appointment and Assigned Resource objects include two time-tracking fields:

  • ActualStart (Actual Start Time): The time a field technician actually began a service appointment.
  • ActualEnd (Actual End Time): The time a field technician actually completed a service appointment.

These fields are part of the Salesforce Field Service managed package. However, the SFS package does not automatically populate these fields. Organizations often expect the system to fill in these values when a technician changes the appointment status — for example, from "Dispatched" to "Onsite" or "Completed" — but no such automation is provided out of the box.

解決策

This behavior is working as designed. Salesforce Field Service does not manage or automatically populate the ActualStart and ActualEnd fields. To populate these fields, implement a custom solution using one of the following approaches:

Option 1: Salesforce Flow (Recommended)

Create a record-triggered Flow on the Service Appointment object:

  • Set ActualStart to the current date/time when the appointment status changes to "Onsite" (or your equivalent "In Progress" status).
  • Set ActualEnd to the current date/time when the appointment status changes to "Completed".

This is the recommended approach as it requires no code and can be managed by an administrator.

Option 2: Apex Trigger

Write an Apex trigger on the Service Appointment or Assigned Resource object to set ActualStart and ActualEnd based on status field changes. This approach offers more control but requires developer involvement.

Option 3: SFS Mobile Custom Actions

Use the Salesforce Field Service Mobile app's custom Quick Actions to prompt field technicians to manually log their actual start and end times when they begin or complete a job. This approach relies on technician compliance but requires minimal configuration.

ナレッジ記事番号

000395431

 
読み込み中
Salesforce Help | Article