AIScoringStatusEvent

Notifies subscribers when the scoring job started by the /services/data/{release version}/connect/aiaccelerator/predictions REST request, executed in asynchronous mode, is complete. This object is available in API version 55.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
Flows 
Processes 
Streaming API (CometD)Yes

Streaming API Subscription Channel 

/event/AIScoringStatusEvent

Special Access Rules 

The AIScoringStatusEvent object is available only when AI Accelerator and Communications Cloud are enabled. The Salesforce org must also have the CRM Plus and CRM for Comms licenses enabled.

Fields 

AIScoringRequestResponse 

  • Type: string
  • Properties: Create
  • Description: A unique ID of the scoring request.

EventUuid 

  • Type: string
  • Properties: Create
  • Description: Required. A universally unique identifier (UUID) that identifies a platform event message.

PrimaryResponseRecordList 

  • Type: textarea
  • Properties: Nillable
  • Description: The list of the primary object’s records that store the scoring response based on the specified field mapping.

ReplayId 

  • Type: string
  • Properties: Create, 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.

SecondaryResponseRecordList 

  • Type: textarea
  • Properties: Create, Nillable
  • Description: The list of the secondary object’s records that store the scoring response based on the specified field mapping.

Status 

  • Type: picklist

  • Properties: Create, Defaulted on create, Restricted picklist

  • Description: Required. Specifies the status of the scoring request response.

  • Default value: NEW

  • Possible values:

    • FAILURE
    • IN_PROGRESS
    • NEW
    • QUEUED
    • SUCCESS

StatusDescription 

  • Type: string
  • Properties: Create, Nillable
  • Description: The message with the details of the request’s latest status.