CreateAssetOrderEvent
Notifies subscribers that the process started by the /actions/standard/createOrUpdateAssetFromOrder or /actions/standard/createOrUpdateAssetFromOrderItem
request is complete. If the process is successful, use this event to learn about the new
assets. If the request isn't successful, use this event to learn about the errors and
how to fix them. This object is available in API version 55.0 and
later.
Supported Calls
describeSObjects()
Supported Subscribers
| Subscriber | Supported? |
|---|---|
| Apex Triggers | ![]() |
| Flows | ![]() |
| Processes | ![]() |
| Pub/Sub API | ![]() |
| Streaming API (CometD) | ![]() |
Subscription Channel
/event/CreateAssetOrderEvent
Event Delivery Allocation Enforced
No
Special Access Rules
This object is available if Subscription Management or Revenue Cloud is enabled in your org. Users must have Read access on this event to receive or view event notifications.
Fields
| Field | Details |
|---|---|
| AssetDetails |
|
| CorrelationIdentifier |
|
| EventUuid |
|
| IsLastEvent |
|
| OrderIdentifier |
|
| ReplayId |
|
| RequestIdentifier |
|
Example
A user successfully runs a createOrUpdateAssetFromOrder request on an order with two order items. The
published createAssetOrderEvent contains this information.
- RequestId: 0001
- AssetDetail
- OrderItemId: 802XX0000000001
- AssetId: 02iXX000000001
- IsSuccess: True
- AssetDetail
- OrderItemId: 802XX0000000001
- AssetId: 02iXX000000002
- IsSuccess: True
Example
A user runs a createOrUpdateAssetFromOrder request on an order with two order items, but
doesn't have Create access on assets. The request fails, and the published
createAssetOrderEvent contains this information.
- RequestId: 0002
- AssetDetail
- OrderItemId: 802XX0000000001
- IsSuccess: False
- ErrorCode: INSUFFICIENT_ACCESS
- ErrorMessage: User doesn’t have Create Access to asset.
- AssetDetail
- OrderItemId: 802XX0000000001
- IsSuccess: False
- ErrorCode: INSUFFICIENT_ACCESS
- ErrorMessage: User doesn’t have Create Access to asset.
