Newer Version Available
BusinessHours
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.