---
schema_version: "1"
id: b5d04a7da81d84cf8a025f26facabc2feeeb6f6bace76debf4ccfb5428415ae0
title: Shift Management for Work.com Object Reference
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/workdotcom_dev/guides/wkfsl-shift-management-object-reference-intro.md
canonical_url: https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-shift-management-object-reference-intro.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0e316a82030b4c1bc0765ddc6310117623b5fc9d6a312e6db4340f773af4f8fc
products:
  - Work.com Developer Guide
  - Service Cloud Developer Content
---

# Shift Management for Work.com Object Reference

The Shift Management package includes several custom objects and fields that are described in this section. Shift Management requires Workplace Command Center and it builds on Field Service objects and capabilities such as service appointments and schedule optimization.

To get started with Shift Management, see [Shift Management in Salesforce Help](https://help.salesforce.com/articleView?id=workdotcom_shifts.htm&type=0). The relationships between objects used by Shift Management are described in the following diagram:

![Shift management object model](https://developer.salesforce.com/docs/media/wkfsl_shift_management_erd.png)

## Standard Objects Used by Shift Management

- [Employee](https://developer.salesforce.com/docs/atlas.en-us.workdotcom_dev_guide.meta/workdotcom_dev_guide/sforce_api_objects_employee.htm)

  - : Represents an employee within a company or organization. When you import employee data to Shift Management, we create a Service Resource record from the Employee records.

- [Location](https://developer.salesforce.com/docs/atlas.en-us.workdotcom_dev_guide.meta/workdotcom_dev_guide/wdc_cc_sforce_api_objects_location.htm)

  - : Location is used by Work.com to represent a physical organization location. Shift Management uses location data in your org to populate Service Territories.

- [ServiceTerritoryMember](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceterritorymember.htm)

  - : Links a service resource (employee) to the service territory (location) so that they can be assigned to service appointments within the territory location.

- [UserTerritory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userterritory.htm)

  - : Links a shift planner or workplace manager to a service territory (location). With custom permission sets, gives access to view and manage the service territories.

## Standard Objects with Custom Fields Used by Shift Management

- [ServiceAppointment](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-serviceappointment.md)

  - : Represents available shifts for a workplace and confirmed shifts for service resources. Service appointments are linked to planned occupancy and, when confirmed, to a service resource (a person).

- [ServiceResource](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-serviceresource.md)

  - : Represents a user who can accept shifts. Data is imported from employee records to create User and Service Resource records. Service Resources are linked to Service Territories through their Service Territory Membership.

- [ServiceTerritory](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-serviceterritory.md)

  - : Represents the locations and spaces associated with your workplace. Work.com adds new custom fields to the standard ServiceTerritory object.

- [Shift](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-shift.md)

  - : 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.

- [WorkOrder](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-shift.md)

  - : Represents field service work to be performed for a customer. Work.com adds new custom fields to the WorkOrder object. The custom field associated with Shift Manager contains information about the facility plan for that shift.

## Custom Objects Used by Shift Management

- [wkfsl\_\_Facility_Plan\_\_c](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__facility-plan__c.md)

  - : Represents the facility plan to help you manage your sites and buildings. This object has information such as maximum occupancy, arrival window start and end times, and arrival interval information for a location. This object is installed as a part of the Shift Management managed package.

- [wkfsl\_\_PlanningPeriod\_\_c](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__planningperiod__c.md)

  - : This object has been deprecated in Shift Management managed package version 3.0. Use the wkfsl\_\_Facility_Plan\_\_c object to manage requests for employee availability and set a response due date in version 3.0 and later.

- [wkfsl\_\_Shift_Management_Metric\_\_c](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__shift-management-metric__c.md)

  - : Stores metrics that summarize shift data such as available employees and planned occupancy. Each record stores calculated shift data associated with a location and scoped to the current day. This object is installed as a part of the Shift Management managed package.

- [wkfsl\_\_ShiftAcceptNotification\_\_c](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__shiftacceptnotification__c.md)

  - : Represents a helper object to ensure that employees don’t receive more than one mobile app notification when they are assigned a service appointment. This object is installed as a part of the Shift Management managed package.

- [wkfsl\_\_Territory_Parent_Update_Evt\_\_e](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__territory-parent-update-evt__e.md)

  - : This event is triggered when the parent territory field on the service territory is updated. When service territories are copied from location records during setup, the event triggers to link a territory to its parent territory.

**See Also**

- [Understand the Work.com Data Model](https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wdc-cc-data-model.md)
- [_Object Reference for Work.com_: Employee](https://developer.salesforce.com/docs/atlas.en-us.workdotcom_dev_guide.meta/workdotcom_dev_guide/sforce_api_objects_employee.htm)
- [_Field Service Data Model_](https://developer.salesforce.com/docs/atlas.en-us.field_service_dev.meta/field_service_dev/fsl_dev_soap_core.htm)
- [_Object Reference for Salesforce and Lightning Platform_: ServiceTerritoryMember](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceterritorymember.htm)
- [_Object Reference for Work.com_: Location](https://developer.salesforce.com/docs/atlas.en-us.workdotcom_dev_guide.meta/workdotcom_dev_guide/wdc_cc_sforce_api_objects_location.htm)
- [_Object Reference for Salesforce and Lightning Platform_: UserTerritory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userterritory.htm)
