--- title: Define a table data source description: Use the Table data source to retrieve data from internal ServiceNow tables or from external sources using Workflow Data Fabric. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/acct-lifecycle-events/account-lifecycle-define-data-source-table.html release: australia topic_type: task last_updated: "2026-10-09" reading_time_minutes: 3 breadcrumb: [Define the data source, Data context engine, Customer success, Configure, Customer Success Management] --- # Define a table data source Use the **Table** data source to retrieve data from internal ServiceNow tables or from external sources using Workflow Data Fabric. ## Before you begin - At least one context must be defined for each **Table** type data source with a valid mapping to the source reference table. See [Configure the Context Engine Mapper](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/acct-lifecycle-events/account-lifecycle-define-context-engine-mapper.md) for details. - Role required: sn\_acct\_lc.customer\_success\_application\_admin ## About this task By defining a **Table** data source, you can: - Retrieve data from internal and external tables \(See [Define a Workflow Data Fabric table data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/acct-lifecycle-events/account-lifecycle-define-data-source-data-fabric-table.md) for details\). - Map Source IDs \(for example, User, Asset, Transaction\) to business entities such as Sold Products, Capabilities. - Use conditions such as Start and End dates to analyze trend data. ## Procedure 1. Navigate to **All** > **Data Context Engine** > **Data Sources**. 2. Select **** > **Create New**. 3. On the Data Source form, enter a name for the data source and fill in the following fields. See [Define the data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/acct-lifecycle-events/account-lifecycle-define-data-source.md) for details on how to create a data source.
| Field | Description |
|---|---|
| Source | Select **Table** from the drop down list. This option allows you to query data from internal and external tables. |
| Frequency | Select the frequency at which the data should be collected from the list.- Daily - Weekly - Monthly - Quarterly |
| Aggregate | Select how the aggregate score should be calculated from the list.- Average - Sum - Max - Min - Count: Use this option to get the total number of records in the Source table that match the filter conditions. |
| Source table | Select the table from which data is to be retrieved.**Note:** For external tables, see [Define a Workflow Data Fabric table data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/acct-lifecycle-events/account-lifecycle-define-data-source-data-fabric-table.md) |
| Group by fields | Select one or two fields or dimensions by which the data in the Source table is to be grouped. |
| Conditions | Specify the filter conditions to be applied to the Source table while retrieving data. **Note:** A Timestamp or a Date field must be present in external Workflow Data Fabric tables to ensure that incremental data can be retrieved. |
| Source value | Select the field that should be used to calculate the aggregate score.**Note:** This is not applicable if the **Aggregate** type is **Count**. |
| Source reference | Select the source record used to resolve the **Group by fields**. This field is automatically populated if you selected a single reference type field in the **Group by fields** option. |
| Source reference resolver | You must update the **Source reference resolver** script and specify the fields that are to be mapped if the **Group by fields** contains: - Two fields \(maximum allowed\) - A non-reference field. - An external field. |