OperatingHours
Represents the hours in which a service territory, service resource, or account is available for work. OperatingHours is used by Field Service, Salesforce Scheduler, Salesforce Meetings, Sales Engagement, and Workforce Engagement.
Introduced in API version 38.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The description of the operating hours. Add any details that aren’t included in the name.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the operating hours. For example,
Summer Hours,Winter Hours, orPeak Season Hours.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 57.0
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The time zone that the operating hours fall within.
By default, only System Administrators can view, create, and assign operating hours.
Service territory members—which are service resources who can work in the territory—automatically use their service territory’s operating hours. If a resource needs different operating hours than their territory, create separate operating hours for them from the Operating Hours tab. Then, select the desired hours in the Operating Hours lookup field on the service territory member detail page.
To view a service resource’s operating hours for a particular territory, navigate to their Service Territories related list and click the Member Number for the territory. You reach the service territory member detail page, which lists the member’s operating hours and dates during which they belong to the territory.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
OperatingHoursChangeEvent: Introduced in API version 54.0.
-
OperatingHoursHistory: Introduced in API version 62.0.