Shift
Represents a shift for service resource scheduling. Shift is a Salesforce standard object that represents an employee’s availability based on their preferences and constraints. Shifts are created for the service resources (employees) included in a facility plan when the planner sends a request for availability. This object is available in API version 46.0 and later.
For standard fields on the Shift object, see Object Reference - Shift.
A scheduler matches a ServiceAppointment to a ServiceResource object based on a planner’s request for availability. Shifts are linked to a service resource, while service appointments are linked to the facility’s planned occupancy.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
| Field | Type | Properties | Description |
|---|---|---|---|
| wkfsl__Facility_Plan__c | reference | Create, Filter, Group, Nillable, Sort, Update | The facility plan associated with this shift. This field was added in managed package version 3.0. This field is available in API version 48.0 and later. |
| wkfsl__PlanningPeriod__c | reference | Create, Filter, Group, Nillable, Sort, Update | This field has been deprecated in managed package version 3.0 and later.The planning period associated with this shift. Before version 3.0, shifts used a lookup relationship to the wkfsl__PlanningPeriod__c object. This field is available in API version 48.0 and later. |