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 |
| 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
-
Change the public class to a global class.
-
Implement this Apex interface in the global class:
1global interface IUnifiedHealthScore{
2 Boolean saveActionDetail(Map<String, String> request);
3}
-
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.