ResourceAbsence Custom Fields
Custom fields associated with a time period in which a service resource is unavailable to work in Field Service.
The standard fields are documented in the ResourceAbsence object reference.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()
Field Service managed package must be installed.
See Also
- Salesforce Object Reference: ResourceAbsence
- Salesforce Help: View Resource Absences on the Gantt and Map
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: When this field is
trueand the Activate approval confirmation on resource absences setting is enabled, the resource absence appears in the dispatcher console’s Gantt chart and is considered by the scheduler. When this field isfalseand the setting is enabled, the resource absence doesn’t appear in the Gantt chart and is ignored by the scheduler.For more info, view the View Resource Absences on the Gantt and Map Help article.
-
Default value:
false
-
Type: double
-
Properties: Filter, Nillable, Sort
-
Description: The duration of the resource absence in minutes. This field is automatically populated after the resource absence is created. This is a calculated field.
-
Formula:
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The estimated travel time from the service resource’s absence location to their home base. For this field, the absence location must have latitude and longitude coordinates and be the last location of the day. If it doesn’t have coordinates, isn’t the last location of the day, or the travel calculations are disabled, this field is 0.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The estimated time to the service resource’s absence location from a service appointment or another resource absence location. For this field, the absence location must have latitude and longitude coordinates. If it doesn’t have latitude and longitude coordinates or the travel calculations are disabled, this field is 0.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The estimated travel distance from the service resource’s absence location to their home base. For this field, the absence location must have latitude and longitude coordinates and be the last location of the day. If it doesn’t have coordinates, isn’t the last location of the day, or the travel calculations are disabled, this field is 0.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The estimated travel distance to service resource’s absence location from a service appointment or another resource absence location. For this field, the absence location must have latitude and longitude coordinate. If it doesn’t have latitude and longitude coordinates or the travel calculations are disabled, this field is 0.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: The method used to calculate the travel time from the service resource’s absence location to a service appointment or another resource absence location. For this field, the absence location must have latitude and longitude coordinates and be the last location of the day. If it doesn’t have coordinates, isn’t the last location of the day, or the travel calculations are disabled, this field is
None. -
Possible values:
AerialNonePredictiveSLR
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: The method used to calculate the travel time to this service resource’s absence location from a service appointment or another resource absence location. For this field, the absence location must have latitude and longitude coordinates. If it doesn’t have latitude and longitude coordinates or the travel calculations are disabled, this field is None.
-
Possible values:
AerialNonePredictiveSLR
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The label of the resource absence in the Field Service dispatcher console’s Gantt chart and resource calendar. This replaces the resource absence’s number in the chart.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The Hex color of the resource absence in Field Service dispatcher console’s Gantt chart and resource calendar.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: A scheduling policy used by the scheduler for the service appointment. This policy overrides the default one in the Field Service Settings page or the one that the scheduler would otherwise select. This is used for travel calculations.
This is a relationship field.
-
Relationship Name: FSL__Scheduling_Policy_Used__r
-
Relationship Type: Lookup
-
Refers To: FSL__Scheduling_Policy__c
These internal fields are used by the Field Service managed package for Street Level Routing calculations. Although they’re publicly accessible, they must only be updated by the managed package.
- FSL__InternalSLRGeolocation__Latitude__s
- FSL__InternalSLRGeolocation__Longitude__s
- FSL__InternalSLRGeolocation__c