Loading
The Trailblazer Community is now read-only Read More
Turn On and Configure Score Writeback

Turn On and Configure Score Writeback

To show the score on each clinical service request, create a Copy Field Enrichment in Data 360 and give the integration user the Health Cloud permissions it requires.

Required Editions

Available in: Lightning Experience

Available in: Enterprise, Performance, and Unlimited Editions with Health Cloud and Data Cloud
 
User Permissions Needed
To create a Copy Field Enrichment: Confirm the required permission with the product team.
To assign permission set licenses and edit permission sets: Confirm the required permission with the product team.

Copy Field Enrichment (CFE) moves the model's score from the scoring DMO to the Referral Score field on the clinical service request. The writeback runs as a fixed Data Cloud integration user, not as you. If that user lacks the right Health Cloud permissions, the score doesn't appear on the CSR even when everything else looks healthy.

Create the Copy Field Enrichment

To map the score to the CSR, create the enrichment in Data Cloud Setup.

  1. In Data Cloud Setup, create a new Copy Field Enrichment.
  2. For the source object, choose the scoring DMO for Clinical Service Request Scoring Data.
  3. For the target, choose Clinical Service Request, and map the score to the Referral Score field.
  4. For ID Matching Method, select Use the Primary Key, so that each row updates the correct record.
  5. Save the enrichment, and start it.

Assign the Integration User the Required Permissions

To let the writeback update clinical service requests, set up two permissions for the Customer 360 Data Platform Integration user (cloud@<org>), which works through the sfdc_a360 permission set.

  1. From Setup, open the sfdc_a360 permission set.
  2. Under System Permissions, turn on Manage Health Cloud.
  3. From Setup, open Users, and open the integration user (cloud@<org>).
  4. Assign the Health Cloud Platform permission set license to the user.
    Tip
    Tip Permission changes don't affect an enrichment that's already running. To apply them, fully stop the sync or enrichment, and then start it again.

Verify the Writeback

To confirm that scores reach the CSR, check the field, the data, and the page layout.

  1. To confirm that the Referral Score field exists, query FieldDefinition for ClinicalServiceRequest fields that match %Referral% in the Dev Console.
    SELECT QualifiedApiName FROM FieldDefinition
    WHERE EntityDefinition.QualifiedApiName = 'ClinicalServiceRequest'
      AND QualifiedApiName LIKE '%Referral%'
  2. After a sync, run SELECT COUNT(Id) FROM ClinicalServiceRequest WHERE ReferralScore != null in the Dev Console.

    A count that's greater than zero and growing means that the writeback works.

  3. Sign into your org as a referral coordinator, and open a scored Clinical Service Request. Confirm that Referral Score appears on the page layout and that the coordinator's profile can see it.

When the count is greater than zero and growing, and coordinators can see the field, setup is complete. The framework scores new requests in each sync cycle.

 
Loading
Salesforce Help | Article