Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Shift
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), upsert()
Special Access Rules
Field Service, Service Engagement, or Workforce Engagement must be enabled. For Field Service, users must have Field Service permissions. For Service Engagement, users must have the Service Engagement Planner permission set. For Workforce Engagement, users must have the Workforce Engagement Admin or Planner permission set.
Fields
| Field | Details |
|---|---|
| BackgroundColor |
|
| EndTime |
|
| IsHolidayShift |
|
| IsNonStandard |
|
| JobProfileId |
|
| Label |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| OwnerId |
|
| RecordsetFilterCriteriaId |
|
| ServiceResourceId |
|
| ServiceTerritoryId |
|
| ShiftNumber |
|
| ShiftTemplateId |
|
| StartTime |
|
| Status |
|
| StatusCategory |
|
| TimeSlotType |
|
Usage
Scheduling and dispatching service resources using shift data is not supported in API version 46.0, and is a pilot feature in API version 47.0.
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- ShiftChangeEvent (API version 54.0)
- Change events are available for the object.
- ShiftFeed
- Feed tracking is available for the object.
- ShiftHistory
- History is available for tracked fields of the object.
- ShiftOwnerSharingRule
- Sharing rules are available for the object.
- ShiftShare
- Sharing is available for the object.