--- title: "Create Milestone Activities from Rules Engine" slug: "create-milestone-activities-from-rules-engine" updated: 2026-11-23T12:31:50Z published: 2026-11-23T12:31:50Z canonical: "support.gainsight.com/create-milestone-activities-from-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. # Create Milestone Activities from Rules Engine This tutorial explains how to create Milestone Activities from Rules engine by using the Load to Activities Action Type. ## Overview Activities cannot be created from Rules Engine, except of the type Milestones. Milestones Activities can be created from created from Rules Engine by an admin and also from 360, Cockpit, and global Timeline, by end users. This article explains the rule setup process to create Milestone Activities from Rules Engine. ## Assumption Every new customer has the status field set to **New customer.** ## Create Rule This section explains the process of creating a rule to automatically create Milestone Activities. To create Rule: 1. Navigate to ***Administration > Rules Engine***. The Rules List page is displayed. 2. Click **+ RULE**. The **Create Rule** window is displayed. ![Rules engine crop.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_engine_crop.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=2chgBx0r0CN%2BWug50%2FBKZO44b2UCdLsnq2BhOijSa%2BA%3D) 3. Perform the following tasks: 1. From the **Rule For** field, select **Company**. 2. In the **Rule Name** field, enter a name. 3. *(Optional)* In the **Description** field, enter a description for the rule. 4. Click **NEXT**. ![Rule page.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rule_page.png?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=joNEO8%2BcMs4xkptRrLregftXtfVvmjtCtqCg%2B5H1iVc%3D) 4. Click **DATASET.** 5. Select **Company** as the source dataset. 6. Drag and drop the following fields to the **Show** section. **IMPORTANT:** It is mandatory to include the **GSID** field. Without this field, you cannot use the Load to Activities Action type. ![Show fields.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Show_fields.GIF?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=JqQN%2Fw2JdVq6t15YdOud0sH0EV9dIO5RFde7IRoIh40%3D) - GSID - Name - Created Date 7. Drag and drop the **Created Date** and **Stage** fields to the **Filters** section. Set the **Created Date** field to **Rule Date** option and **Stage** Filter to **New Customer** option. 8. This ensures that all of the companies created on rule run date with Status of **New Customer** are fetched in the dataset. ![Filters.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Filters.GIF?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=Re2NF%2BEflNbCFrSBliF3t0F8cHCUO0wZqE3mhWGkecM%3D) 9. Click **SAVE**. 10. Click **Setup Action**. ## Configure Load to Activities Action Type This section explains how to use the Load to Activities Action type to automatically create Milestone Activity types. To use Load to Activities Action type: 1. Click **+ ACTION**. 2. From the **Action** drop-down list, select **Load to Activities**. ![select action type.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/select_action_type.GIF?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=IoiMJ3XQZpEsxL9w4YDkwR7k5uusGZuCiGP2pZHiG4M%3D) 3. Perform the following actions: 1. From the **Subject** drop-down list, select an option. The String Data type fields used in the source dataset are displayed. You can select any of those fields or select the **Custom** option to enter a subject manually. From the **Activity Date** drop-down list, select an option. 2. The Date Data type fields used in the source dataset are displayed. You can select any of those fields or select the **Custom** option to manually enter a date. 3. From the **Note** drop-down list, select an option. The String Data type fields used in the source dataset are displayed. You can select any of those fields or select the **Custom** option to enter a note manually. 4. From the **Milestone Type** drop-down list, select an option. ![Configure fields.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Configure_fields.GIF?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=Zh3Ue3cFXnHT7nGhL8aRAM25eqZ%2FCJLJ1ZDj0LGEZps%3D) 4. Enter values in the other fields as required. 5. Click **SAVE**. You can now [*schedule the rule*](/v1/docs/schedule-and-execute-rules-1), as required. Gainsight recommends that you schedule the rule to run on a daily basis. This ensures that a Milestone Activity is created for every new company. **IMPORTANT:** If you are creating a Rule for Relationships, then you must select the **Relationship Types** in the **Create Rule** page. The selected Relationship Types are displayed in the **Relationship Type** field on the **Setup Action** page. You can now select the Relationship Types for which you want to create Milestone Activities. ![Relationship rule.GIF](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Relationship_rule.GIF?sv=2026-02-06&spr=https&st=2026-11-24T16%3A54%3A44Z&se=2026-11-24T17%3A54%3A44Z&sr=b&sp=r&sig=eJskftSFq%2B8KxIl6Pz%2B7%2FmBXQny5X%2BbrLGxfGJJGbzE%3D) In the above image, Rule is created for **ACM** and **Analytics Cognos Analytics** relationship types. While configuring the Load to Activities Action type, you can view all the relationship types for which the rule is created (in this case two relationship types). You can now select either one of the two relationship types, or both relationship types. The milestone Activity is created only for those relationship types which you select on the **Setup Action** page.