Newer Version Available
OutOfOffice
Represents a user-set value on a profile
that shows when the user intends to be out of the office.
This object is available in API version 41.0 and later.
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 .
Only internal users can set an out-of-office message.
Fields
| Field Name | Details |
|---|---|
| EndDate |
|
| IsEnabled |
|
| Message |
|
| StartDate |
|
| UserId |
|
Usage
- Maximum message length is 40 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.