FOStatusChangedEvent

Notifies subscribers of changes to the status of a fulfillment order record. Use this event to trigger flows and processes in your order workflow. This object is available in API version 48.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

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

Subscription Channel 

/event/FOStatusChangedEvent

Event Delivery Allocation Enforced 

No

Special Access Rules 

FOStatusChangedEvent is available as part of Salesforce Order Management.

Fields 

EventUuid 

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message. This field is available in API version 52.0 and later.

FulfillmentOrderId 

Type: reference

Properties: Nillable

Description: ID of the FulfillmentOrder whose status changed. This value is functionally required, but is nillable because fulfillment order records can be deleted to comply with data protection and privacy requirements.

NewStatus 

Type: picklist

Properties: None

Description: Required. The new value of the Status field on the FulfillmentOrder. Possible values are defined by the Status field picklist on the FulfillmentOrder object. Default available values are:

  • Allocated
  • Assigned
  • Canceled
  • Draft
  • Fulfilled
  • Pack Complete This value is available in API v57.0 and later.
  • Pick Complete
  • Pickpack
  • Printed
  • Rejected

NewStatusCategory 

Type: picklist

Properties: Restricted picklist

Description: Required. The new value of the StatusCategory field on the FulfillmentOrder. Possible values are:

  • Activated
  • Canceled
  • Closed
  • Draft
  • Fulfilling
  • Rejected

OldStatus 

Type: picklist

Properties: Nillable

Description: The previous value of the Status field on the FulfillmentOrder. Possible values are defined by the Status field picklist on the FulfillmentOrder object. Default available values are:

  • Allocated
  • Assigned
  • Canceled
  • Draft
  • Fulfilled
  • Pack Complete This value is available in API v57.0 and later.
  • Pick Complete
  • Pickpack
  • Printed
  • Rejected

OldStatusCategory 

Type: picklist

Properties: Nillable, Restricted picklist

Description: The previous value of the StatusCategory field on the FulfillmentOrder. Possible values are:

  • Activated
  • Cancelled
  • Closed
  • Draft
  • Fulfilling
  • Rejected

OrderSummaryId 

Type: reference

Properties: Nillable

Description: ID of the OrderSummary associated with the FulfillmentOrder.

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.