Loading

How Data Checker considers the data in Einstein Recommendation Builder.

Udgivelsesdato: Jan 27, 2025
Beskrivelse

Within the Einstein Recommendation Builder, we have the Data Checker which shows the columns 'Record Count' and 'Required'.

 

The Required record for the objects selected in the ERB are as followed:

  • Recommended Items: 10
  • Recipients: 100
  • Positive Interactions: 400

 

In order to understand how the above data is calculated, we can follow the below resolution.

Løsning

While creating the Einstein Recommendation Builder, we get to select and associate the objects with 'Recommended Items', 'Recipient', and 'Interactions'.

 

Now, all the objects selected above should be in a way that the Interactions object can have either Lookup or Master-Detail relationships with the Recipient and Recommended Items objects.

 

In order to check the record count, lets consider:

  • 'Interaction' selected as an object for Interaction
  • 'Recipients' selected as an object for Recipients
  • 'Recommended_Items' selected as an object for Recommended Items

 

The value of the record count for 'Positive Interactions' is calculated by checking how many records are there in 'Interaction' object. We check the same by querying:

  • Select count(id) from Interaction

The value of the above query should be greater than or equals to 400.

 

The value of the record count for 'Recommended Items' is calculated by checking how many Recommended Items are having Related Interaction Records. We check the same by querying:

  • SELECT Id FROM Recommended_Items WHERE Id IN (SELECT Recommended_Items__c from Interaction)

The value of the above query should be greater than or equals to 10.

(Note: In the above query, the Recommended_Items__c is a custom lookup/master-detail relationship field on the Interaction object with Recommended_Items object).

 

The value of the record count for 'Recipients' is calculated by checking how many Recipient having Related Interaction Records. We check the same by querying:

  • SELECT Id FROM Recipients WHERE Id IN (SELECT Recipients__c from Interaction)

The value of the above query should be greater than or equals to 100.

(Note: In the above query, the Recipients__c is a custom lookup/master-detail relationship field on the Interaction object with Recipients object).

Vidensartikelnummer

004052218

 
Indlæser
Salesforce Help | Article