Newer Version Available
ResourceAbsence
Represents a time period in which a service resource is unavailable to work. This
object is available in API
version 38.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()
Special Access Rules
Field Service Lightning must be enabled. To create or update resource absences, you need “Read” access to service resources. To delete resource absences, you need “Edit” access to service resources.
Fields
| Field Name | Details |
|---|---|
| AbsenceNumber |
|
| Address |
|
| City |
|
| Country |
|
| Description |
|
| End |
|
| GeocodeAccuracy |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| Latitude |
|
| Longitude |
|
| Postal Code |
|
| ResourceId |
|
| Start |
|
| State |
|
| Street |
|
| Type |
|
Usage
The Absences related list on a service resource detail page lets you define periods of time when
the resource is unavailable to work. Unless you’re using the Field Service Lightning
managed packages with the scheduling optimizer, service resources can still be
assigned appointments that conflict with their absences.
If you’re not using the Field Service Lightning
managed packages, a calendar view isn’t available for individual service
resources.