Object Reference for the Salesforce Platform
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.
OutOfOffice
Supported Calls
create(), delete(), query(), undelete(), upsert(), update()
Special Access Rules
In Lightning Experience, lets users set a message next to their name in Chatter to show when they plan to be out of the office. The message appears in Lightning Experience, Salesforce Classic, and mobile views. Messages expire automatically after their end date. You can control whether out-of-office functionality is available to your users. Set it up in the Out of Office section in Setup | Chatter Settings.
Only internal users can set an out-of-office message.
Fields
| Field Name | Details |
|---|---|
| EndDate |
|
| IsEnabled |
|
| Message |
|
| StartDate |
|
| UserId |
|
Usage
- Maximum message length is 60 characters.
- Users can set only their own out-of-office message. An admin can set an out-of-office message for any user.
- The out-of-office message can be set only for internal users.