You are here:
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.
- In Data Cloud Setup, create a new Copy Field Enrichment.
- For the source object, choose the scoring DMO for Clinical Service Request Scoring Data.
- For the target, choose Clinical Service Request, and map the score to the Referral Score field.
- For ID Matching Method, select Use the Primary Key, so that each row updates the correct record.
- 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.
-
From Setup, open the
sfdc_a360permission set. - Under System Permissions, turn on Manage Health Cloud.
-
From Setup, open Users, and open the integration user
(
cloud@<org>). -
Assign the Health Cloud Platform permission set license to the user.
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.
-
To confirm that the Referral Score field exists, query
FieldDefinitionforClinicalServiceRequestfields that match%Referral%in the Dev Console.SELECT QualifiedApiName FROM FieldDefinition WHERE EntityDefinition.QualifiedApiName = 'ClinicalServiceRequest' AND QualifiedApiName LIKE '%Referral%' -
After a sync, run
SELECT COUNT(Id) FROM ClinicalServiceRequest WHERE ReferralScore != nullin the Dev Console.A count that's greater than zero and growing means that the writeback works.
- 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.
