Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Customize Action Logs

          Customize Action Logs

          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
          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:
            global interface IUnifiedHealthScore{
                Boolean saveActionDetail(Map<String, String> request);
            } 
          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.
           
          Loading
          Salesforce Help | Article