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.
UserServicePresence
Supported Calls
delete(), query(), getDeleted(), getUpdated(), retrieve(), undelete()
Special Access Rules
To access this object, Omni-Channel must be enabled.
Fields
| Field | Details |
|---|---|
| AtCapacityDuration |
|
| AverageCapacity |
|
| ConfiguredCapacity |
|
| ConfiguredInterruptCapacity |
|
| IdleDuration |
|
| IsAway |
|
| IsCurrentState |
|
| Name |
|
| OwnerId |
|
| ServicePresenceStatusId |
|
| StatusDuration |
|
| StatusEndDate |
|
| StatusStartDate |
|
| UserId |
|
Usage
Apex triggers aren’t supported with UserServicePresence.
In API version 41.0 or later, UserServicePresence records can be deleted programmatically. The Customize Application permission is required.
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- UserServicePresenceChangeEvent (API version 62.0)
- Change events are available for the object.
- UserServicePresenceOwnerSharingRule
- Sharing rules are available for the object.
- UserServicePresenceShare
- Sharing is available for the object.