Loading

Field Service package installation fails due to WorkOrder or Service Appointment errors

Julkaisupäivä: Jun 29, 2026
Kuvaus

Description

When you attempt to install the Salesforce Field Service (FS) managed package, you may encounter two error messages related to feature dependencies in the package.

Error 1: Missing Organization Feature: WorkOrder

This error appears when Field Service has not yet been enabled in the organization. The error message looks like this:
Organization: Company Name (00DXXXXXXXXXXXX) User: User Name (005XXXXXXXXXXXX) Package: FS (04tXXXXXXXXXXXX)
Problem: 1. Missing Organization Feature: WorkOrder

Error 2: referenceTo value of 'ServiceAppointment' does not resolve to a valid sObject type

This error appears when the Service Appointment object does not exist in the org, which can occur in Developer Organizations created before Spring '17. The error message looks like this:
Organization: Company Name (00DXXXXXXXXXXXX) User: User Name (005XXXXXXXXXXXX) Package: FS (04tXXXXXXXXXXXX)

  1. (Time_Dependency__c.Service_Appointment_1__c) referenceTo value of 'ServiceAppointment' does not resolve to a valid sObject type. Time_Dependency__c.Service_Appointment_1__c: referenceTo value of 'ServiceAppointment' does not resolve to a valid sObject type.

This error is often followed by several other cascading error messages.

Ratkaisu

Resolution for Error 1: Enable Field Service in the Org

This error occurs when Salesforce Field Service (FS) has not been enabled in the organization. Field Service is a separate feature that must be activated in Setup before the managed package can be installed.
To enable Field Service:

  1. Navigate to Setup and enter Field Service Settings into the Quick Find box.
  2. Select Enable next to Field Service.

After enabling Field Service, retry the package installation.

Resolution for Error 2: Create a New Developer Organization

If you encountered Error 1 and noticed that Field Service Settings prompted you to enable Work Orders rather than Field Service Settings, you may encounter Error 2 when you retry the installation.
This error occurs due to a known limitation in Developer Organizations created before Spring '17. The Service Appointment sObject does not exist in those older orgs, making the package installation impossible.
Workaround: Create a new Developer Organization and install the Field Service package in the new org. Developer orgs created after Spring '17 include the Service Appointment object and do not have this limitation.

 

Knowledge-artikkelin numero

000383383

 
Ladataan
Salesforce Help | Article