---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Configure activity types for the Customer Activity view

# Configure activity types for the Customer Activity view {#ariaid-title1}

* Release version: Xanadu
* 
* Updated February 4, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Create an activity type to display in the activity feed on the Customer Activity
view.

## Before you begin

Role required: admin

## About this task

An activity type is an action that a contact or consumer performs. These actions are displayed in the activity feed on the Customer Activity view.

Activity types are displayed in the Customer Activity
view in Agent Workspace.

## Procedure

1. Navigate to AllCustomer CentralFeed ConfigurationActivity Types.
2. Select New.
3. Fill out the fields, as required.  
   {#configure-activity-types-ca__table_vzg_jcs_mlb__entry__2}

   | Field | Description |
   |-|-|
   | Short description | Enter a name for the activity. |
   | Activity message | Enter the message that is displayed on the activity tile in the activity feed. Note: If the message is not yet defined, you can create a message. Refer to the video above on how to create a message. |
   | Activity source | Enter the table on which the activity is performed. For example, if creating a case is the activity, the Case table is the Activity Source. |
   | Actor | Enter the person performing the activity. |
   | Object | Select an Object, which is the unique key that identifies the object on which the activity is performed. |
   | Filter conditions | Specify any condition that must be met for the activity to be displayed in the activity feed. |
   | Active | Deselect the Active check box to not display the activities corresponding to this type in the activity feed. Note: If you deselect this check box, deselect the corresponding facet. If not, the facet displays with no data. |
   | Verb | Select a verb that describes the activity performed. Note: If the verb is not yet defined, you can create a verb. Refer to the video above on how to create a verb. |
   | Target | Select the second person involved in the activity. Not all activities have a second person. |
   [Table 1. New Activity Types field description]

   {#configure-activity-types-ca__table_vzg_jcs_mlb}
4. Select Submit.  
   Note:  
   Once you create a new activity type, a new business rule is created.
5. In the notification message, select the link to the business rule.  
   Note:  
   The business rule is required to create a record in a central activity table each time the action is performed. The central activity table improves the performance of rendering the feed during runtime. Create a business rule for each activity type.
6. In the Advanced tab, update the script.  
   The following is an example script.

       var actSubCtx = global.ActivitySubscriptionContext.getContext();
       if (current.contact) {
           actSubCtx.getActivityService().createActivity(current, verb, "", "", "", module);
       }
       current: current variable in business rules holds the GlideRecord of the table on which the business rules is triggered. If this business rule is on Case table, current will hold the GlideRecord of the case. 
       verb: verb that is configured in the Verb field of the created activity type
       module: module that is configured in the Module field of the created activity type
       Note: If there is already a Create Activity business rule, a notification message will also be displayed. You can update the script as required.

{#configure-activity-types-ca__steps_qbq_ycs_mlb}

*[\>]: and then


