SrcPredJobStatusChgEvent

Notifies subscribers that the Data Cloud prediction job’s status is changed. This object is available in API version 50.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

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

Subscription Channel 

/event/srcpredjobstatuschgevent

Event Delivery Allocation Enforced 

Yes

Fields 

ErrorCode 

Type: string

Properties: Nillable

Description: If the event’s status is an error, contains the error code.

EventCreationDate 

Type: dateTime

Properties: Nillable

Description: The date and time when the event occurred.

EventPublishDate 

Type: dateTime

Properties: Nillable

Description: The date and time when the event published.

EventType 

Type: string

Properties: Nillable

Description: The type of event that occurred.

EventUuid 

Type: string

Properties: Nillable

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

LastRefreshDate 

Type: dateTime

Properties: Nillable

Description: The date and time when the prediction job was last changed.

LastRunStatus 

Type: string

Properties: Nillable

Description: The status of the prediction job’s last run.

LastRunTime 

Type: dateTime

Properties: Nillable

Description: The date and time when the prediction job was last run.

OutputDloName 

Type: string

Properties: Nillable

Description: The developer name of the DLO containing the prediction job’s output.

PredictionApiName 

Type: string

Properties: Nillable

Description: The API name of the prediction job.

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.

RowsProcessed 

Type: long

Properties: Nillable

Description: The number of rows processed during the prediction.

RowsUpdated 

Type: long

Properties: Nillable

Description: The number of rows updated during the prediction.

SchemaVersion 

Type: string

Properties: Nillable

Description: The version of the event schema.