PendingOrdSumProcEvent

Notifies subscribers that a PendingOrderSummary record was processed. If the process succeeded, an OrderSummary was created and the PendingOrderSummary can be deleted. Use this event to trigger subscribers such as flows in your order workflow. This object is available in API version 56.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

Subscription Channel 

/event/PendingOrdSumProcEvent

Special Access Rules 

PendingOrdSumProcEvent is available as part of Salesforce Order Management with the High Scale Orders feature.

Event Delivery Allocation Enforced 

No

Fields 

ErrorCode 

Type: string

Properties: Nillable

Description: If the OrderSummary creation returned an error, this field contains the error code.

ErrorMessage 

Type: string

Properties: Nillable

Description: If the OrderSummary creation returned an error, this field contains the error message.

EventUuid 

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message.

ExternalReferenceIdentifier 

Type: picklist

Properties: Defaulted on create

Description: Unique identifier copied from the PendingOrderSummary to the OrderSummary. This value is set to B2C realm ID + ”_” + B2C instance ID + ”@” + B2C Commerce catalog/domain ID + ”@” + B2C Commerce order number.

IsSuccess 

Type: reference

Properties: Nillable

Description: Indicates whether the OrderSummary was created.

OrderSummaryId 

Type: reference

Properties: Nillable

Description: The ID of the OrderSummary that was created from the PendingOrderSummary.

ReplayId 

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.