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.
BusinessHours
Limit a list view to a maximum of 10,000 business hours.
If business hours are associated with any Holiday records, then business hours and escalation rules associated with business hours are suspended during the dates and times specified as holidays.
Supported Calls
create(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()
Special Access Rules
All users, even those without the “View Setup and Configuration” user permission, can view business hours via the API.
Fields
| Field | Details |
|---|---|
| BusinessHoursId |
|
| IsActive |
|
| Name |
|
| IsDefault |
|
| LastViewedDate |
|
| FridayEndTime | |
| FridayStartTime | |
| MondayEndTime |
|
| MondayStartTime |
|
| SaturdayEndTime |
|
| SaturdayStartTime |
|
| SundayEndTime |
|
| SundayStartTime |
|
| ThursdayEndTime |
|
| ThursdayStartTime |
|
| TimeZoneSidKey |
|
| TuesdayEndTime |
|
| TuesdayStartTime |
|
| WednesdayEndTime |
|
| WednesdayStartTime |
|
Usage
Use this object to specify the business hours at which your support team operates. Escalation rules only run during the business hours with which they are associated. To set business hours to 24-hours a day, set the times from midnight to midnight (00:00:00 ~ 00:00:00) on each day.
By default, business hours are set from 12:00 AM to 12:00 AM in the default time zone specified in your organization's profile.