---
sourceDocument: Yokohama Account Lifecycle Events
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/acct-lifecycle-events

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Account Lifecycle Events

ft:clusterId :

    - actle

bundleId :

    - actle

workflow :

    - Customer and Industry


---

# Setup the data context engine

# Setup the data context engine {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Define and measure metrics to calculate the health score or generate risk signals for one or more engagements.

Data is collected from performance indicators or external sources as defined in the data source. This data is used to calculate the health score, generate risk signals, or create success outcomes. The following diagram shows the high-level data model.  

<br />

To collect and use the data, you must setup the data source to specify whether data is being collected from PA indicators or external sources. In the context table, you must associate the data source with an engagement or success
outcome table. Based on the context, you must specify the record in the context table for which this data is applicable. Data is stored in the Context Engine Data table and when the scheduled jobs are run, the heath score, risk
signals, and success outcomes are updated.  
To setup the data context engine, follow these steps:

* [Define the data source](https://servicenow-prod.fluidtopics.net/VwMdfmJAn_DTAUziZiQQyQ "Before the health or risk score can be calculated, you must specify the source from which data is to be collected. Data can be collected either through key performance metrics or external sources.")
* [Set up the context engine mapper](https://servicenow-prod.fluidtopics.net/6Kznn2j72apZF5MldOtVYQ "After you have defined the data source, the next step is to specify the record in the context table for which it is applicable.")
{#account-lifecycle-setup-metric-data__ul_vsr_vn2_ydc}  
After the data context engine has been set up, you can configure the health and risk definitions:

* [Setup the engagement health definition](https://servicenow-prod.fluidtopics.net/fptwShFTWXm6_7arDYATqg "Use the engagement health definition to configure the metrics required to calculate the health score for an engagement.")
* [Setup the engagement risk definition](https://servicenow-prod.fluidtopics.net/HDAdix5dzB0wXcajpM~iOg "Use the engagement risk definition to configure the metrics required to define the risk signals for an engagement.")
{#account-lifecycle-setup-metric-data__ul_n3g_cbm_ydc}

