--- title: "Use Timeline Data in Rules Engine" slug: "use-timeline-data-in-rules-engine" updated: 2026-11-23T12:31:59Z published: 2026-11-23T12:31:59Z canonical: "support.gainsight.com/use-timeline-data-in-rules-engine" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Use Timeline Data in Rules Engine Gainsight NXT This article is the third in a series of Timeline configuration articles. Gainsight recommends that you first refer to the [*initial articles*](/v1/docs/configure-general-settings-and-activity-type) before proceeding with this article. This article explains how you can use the Activity Timeline object to create a Rule using the Timeline data. ## Overview Activity Timeline is a system object which holds all of the information about Timeline activities. This object also has lookup to other important objects like Company, User, and Relationship. You can use this object to create a rule using the Timeline data. ## Create Rule This article explains the process of creating a Rule to fetch all of the Activities for a specific Reporting category. To create Rule: 1. Navigate to ***Administration > Rules Engine****.* 2. Click **+ RULE**. 3. Enter the following details: 1. **Rule For**: Select **Company** 2. **Rule Name**: Enter a name for the rule. 3. *(Optional)* **Description**: Enter a description. 4. Click **NEXT**. ![Create rule.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Create_rule(1).png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A03%3A42Z&se=2026-11-24T18%3A03%3A42Z&sr=b&sp=r&sig=Am13btIS9%2By%2FD34D9dYR9rXF4%2BZDvgcMuHt1EEg7ZZE%3D) 5. Click **DATASET**. 6. Select **Activity Timeline** as the source object. ![Activity timeline.gif](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Activity_timeline.gif?sv=2026-02-06&spr=https&st=2026-11-24T17%3A03%3A42Z&se=2026-11-24T18%3A03%3A42Z&sr=b&sp=r&sig=64bp%2FOdTkjbQuUxVM%2BSu6bMnxqSqmiPG4I6tJkN%2Booo%3D) 7. Drag and drop the **Activity Date** and **Type Name** fields to the **Show** section. ![Show me section.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Show_me_section.GIF?sv=2026-02-06&spr=https&st=2026-11-24T17%3A03%3A42Z&se=2026-11-24T18%3A03%3A42Z&sr=b&sp=r&sig=ju8LqaqBA4aJn2FttsctjVaEVBBzE4BqkIks8u1NP5c%3D) You can add additional fields as required. 8. Drag and drop the **Reporting Category** field to the **Filters** section. 9. Add a reporting category name (*here advocacy*) 10. Click **SAVE**. ![Use filter.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Use_filter.GIF?sv=2026-02-06&spr=https&st=2026-11-24T17%3A03%3A42Z&se=2026-11-24T18%3A03%3A42Z&sr=b&sp=r&sig=iHe3orqqvF08vi5VD%2FGW6vTE9dLgpbF7JtCanS9gJjo%3D) This Dataset now fetches only those Activity types which belong to the Advocacy Reporting category. You can set an [*action type*](https://support.gainsight.com/gainsight_nxt/03Rules_Engine/Rules_Engine_(Bionic_Rules)/Admin_Guides/06Setup_Rule_Action_Types) on this rule and then [*schedule the rule*](/v1/docs/schedule-and-execute-rules-1) as required.