Actions triggered from the Dynamic Actions for Unified Health Scoring component are
logged in the Health Score Action Log object. You can customize the information logged in this
object using the IUnifiedHealthScore Apex interface in a
custom Apex class.
Required Editions
Available in: Enterprise and Unlimited Editions with Health
Cloud
User Permissions Needed
To define, edit, delete, set security and set version settings for Apex
classes:
Author Apex
To run Apex tests
View Setup and Configuration
In the Developer Console, select File | New | Apex Class
Change the public class to a global class.
Implement this Apex interface in the global class:
global interface IUnifiedHealthScore{
Boolean saveActionDetail(Map<String, String> request);
}
Insert your custom query after the saveActionDetail()
function to determine what information is logged in Health Score Action Log.
For instance, you could add custom code to store scores and score categories in your
logs.
Save your apex class and test it.
Capture Scores and Score Categories in the Action Log The action history logged in Health Score Action Log doesn’t include score information by default. Use this custom Apex code with our Apex interface to capture score information in your logs.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.