Loading

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

Fecha de publicación: Dec 26, 2023
Descripción

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

Error 1: 

Organization: Company Name (00DXXXXXXXXXXXX)
User: User Name (005XXXXXXXXXXXX)
Package: FS (04tXXXXXXXXXXXX)

Problem:
1. Missing Organization Feature: WorkOrder
null

Error 2: 

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. 

 

Solución

Error 1: Missing Organization Feature: WorkOrder

This error message occurs if Field Service is not enabled yet in the organization. To enable Field Services: 

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

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

If you encountered Error 1 and noticed that Field Service Settings prompts you to enable "Work Orders" instead of "Field Service Settings" as noted above, then you may encounter Error 2 when you attempt the installation again. 

This error occurs due to a known limitation in Developer Organizations that were created prior to Spring '17. To work around this error, create a new Developer Organization and install the package there.
 

Número del artículo de conocimiento

000383383

 
Cargando
Salesforce Help | Article