Customize Action Logs

Actions triggered from the Dynamic Actions for Unified Health Scoring component is 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.
Available in: Enterprise and Unlimited Editions with Health Cloud and the Unified Health Scoring Add-On license

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
  1. In the Developer Console, select File | New | Apex Class
  2. Change the public class to a global class.
  3. Implement this Apex interface in the global class:
    1global interface IUnifiedHealthScore{
    2    Boolean saveActionDetail(Map<String, String> request);
    3}
  4. 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.
  5. Save your apex class and test it.