Newer Version Available

This content describes an older version of this product. View Latest

ResourceAbsence Custom Fields

Custom fields associated with a time period in which a service resource is unavailable to work in Field Service and Lightning Scheduler.

The standard fields are documented in the ResourceAbsence object reference.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()

Special Access Rules

Field Service managed package must be installed.

Fields

Field Details
FSL__Approved__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
When this field is true and 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 is false and the setting is enabled, the resource absence doesn’t appear in the Gantt chart and is ignored by the scheduler.
The default value is false.
For more info, view the View Resource Absences on the Gantt and Map Help article.
FSL__Duration_In​​_Minutes__c
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
1IF (ISBLANK(Start), 0, (End - Start)*24*60)
FSL__EstTravelTime​From__c
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.
FSL__EstTravelTime__c
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.
FSL__EstimatedTravel​DistanceFrom__c
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.
FSL__EstimatedTravel​DistanceTo__c
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.
FSL__Estimated_Travel_​Time_From_Source__c
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 are:
  • Aerial
  • None
  • Predictive
  • SLR
FSL__Estimated_Travel_​Time_To_Source__c
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 are:
  • Aerial
  • None
  • Predictive
  • SLR
FSL__GanttLabel__c
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.
FSL__Gantt_Color__c
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.
FSL__Scheduling_​Policy_Used__c
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

Internal Fields

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