---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Configure activity contexts for Self-Service Analytics

# Configure activity contexts for Self-Service Analytics {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 Minuten Lesedauer

Define the type of activities you want to collect as Self-Service Analytics
data for a user entity such as consumers and customer contacts.

## Vorbereitungen

Role required: sn_ssa_core.self_service_manager

## Warum und wann dieser Vorgang ausgeführt wird

The activity types you add to an activity context are already predefined for use in
applications that use the Subscriptions and Activity Feed Framework. This framework
is available when you install the Subscriptions and Activity Feed Framework plugin
(com.snc.activity_subscriptions). The plugin is activated when you activate the
Self-Service Analytics Core plugin (com.snc.self_service_analytics_core).

## Prozedur

1. Navigate to AllSelf-Service AnalyticsConfigurationActivity Context.
2. In the Activity Contexts list, search for and select the activity context for your user entity.
   * For consumers, select Consumer.
   * For customer contacts, select Contact.
   * For user entities other than consumers and customer contacts, click New to create another activity context.

   {#configure-activity-context__choices_rmg_yzw_4jb}  
   Hinweis:  
   To get the activity contexts Consumer and Contact by default, you must install Self-Service Analytics for Customer Service (com.snc.pa.self_service_analytics_csm) plugin.
3. On the Activity Context form, verify the default field values for consumers and customer contacts, or fill in the values for a custom configuration.  
   {#configure-activity-context__table_bxj_sbx_4jb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Unique name for your activity context. |
   | Context Table | Table that includes the user entity whose actions need to be tracked and displayed on the Self-Service Analytics dashboard. For example, if you want to track all actions for a customer contact, select the Contact \[customer_contact\] table. Similarly, if you want to track all actions for a consumer, select the Consumer \[csm_consumer\] table.​ |
   | Module | Module associated with the application that stores the activities data. |
   | Application | Scope of the application. This field is automatically set based on the application scope selected in the application picker. |
   | Domain | Domain in which the activities records exist. |
   [Tabelle : 1. Activity Context form]

   {#configure-activity-context__table_bxj_sbx_4jb}
4. If you are creating a new activity context, click Submit and then select the newly created activity context link from the Activity Contexts list.
5. In the Activity Context Groups related list, map an activity context with activity groups.
   * For consumers and customer contacts, verify the default field values for an existing configuration.
   * For user entities other than consumers and customer contacts, click New to create another activity group or map with an existing activity group.

   {#configure-activity-context__choices_d1r_lmp_jlb}  
   For a new activity group mapping, on the Activity Group form, fill in the fields and click Submit. In the Activity Context Groups related list, you then have to select the newly created activity group and add available activity types to the activity group.{#configure-activity-context__table_esn_pq3_4lb__entry__2}

   | Field | Description |
   |-|-|
   | Activity Context | Activity context associated with the activity group. |
   | Activity Group | Option to search for and select an activity group. |
   | Application | Defines the scope of the application. This field is automatically populated based on the application scope. |
   | Domain | Domain in which the activities records exist. |
   [Tabelle : 2. Activity Group form]

   {#configure-activity-context__table_esn_pq3_4lb}
6. In the Activity Context Types related list, map an activity context with an activity type.
   * For consumers and customer contacts, verify the default field values for an existing configuration.
   * For user entities other than consumers and customer contacts, click New to create another mapping or use an existing configuration.

   {#configure-activity-context__choices_q4w_rmp_jlb}  
   For a new activity type mapping, on the Activity Source Context Mapping form, fill in the fields and click Submit.{#configure-activity-context__table_cvd_kkb_nlb__entry__2}

   | Field | Description |
   |-|-|
   | Activity Context | Activity context associated with the activity source. |
   | Context Table | Table that includes the user entity whose actions need to be tracked and displayed on the Self-Service Analytics dashboard. This field is auto-populated based on the selected activity context. |
   | Activity Type | Activity type you want to associate with the activity context. |
   | Source Table | Table from which the data for the activity context is populated. |
   | Filter Criteria | Filter conditions applied on the source table. |
   | Advanced Mapping | Option to enable advanced mapping of activity source and activity context. You enter a script in the Advanced Mapping Script field. |
   | Advanced Mapping Script | Script to use if the source and context mapping is not sufficient. This field appears only when the Advanced Mapping option is selected. |
   | Module | Module associated with the application that stores the activities data. |
   | Application | Scope of the application that contains the user entity. This field is automatically set based on the application scope selected in the application picker. |
   | Domain | Domain in which the activities records exist. |
   | Fetch from Activities | Option to enable a business rule defined for an activity type. |
   [Tabelle : 3. Activity Source Context Mapping form]

   {#configure-activity-context__table_cvd_kkb_nlb}
7. On the Activity Context form, click Update. {#configure-activity-context__solution-buttons}
{#configure-activity-context__solution-buttons}

## Nächste Maßnahme

[Configure pattern elements for Self-Service Analytics](https://servicenow-prod.fluidtopics.net/LxLEd7h0n0or9Nqh_jelHg "Configure a pattern element to specify a single activity type and how many times it occurs. Each pattern element is implemented as regular expressions.").

