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.
AsgnRsrcApptSchdEvent
Represents the assigned resources that are part of various platform events.
This object is included in a streamed notification received on the channels for the parent
platform events. You can’t subscribe to the AsgnRsrcApptSchdEvent channel directly. This
object is available in API version 50.0 and later.
Supported Calls
describeSObjects()
Parent Platform Events
- AppointmentSchedulingEvent
- ServiceAppointmentEvent
Fields
| Field | Details |
|---|---|
| AssignedResourceId |
|
| ChangedFields |
|
| EventUuid |
|
| IsPrimaryResource |
|
| IsRequiredResource |
|
| ServiceResourceId |
|
| ServiceResourceUserEmail |
|
| ServiceResourceUserId |
|
| ServiceResourceUserName |
|
Example
This example shows the assigned resources associated with the event.
1{
2 "IsPrimaryResource": true,
3 "ServiceResourceUserName": "Rachel Adams",
4 "ServiceResourceUserId": "005xx000001X7dl",
5 "AssignedResourceId": "03rxx0000004gLc",
6 "ServiceResourceId": "0Hnxx0000004C92",
7 "ServiceResourceUserEmail": "ra@example.com",
8 "IsRequiredResource": true
9}