Skip to main content
Gainsight Inc.

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

  1. 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

  1. Click DATASET.
  2. Select Company as the source dataset.
  3. Drag and drop the following fields to the Show section.
  • GSID
  • Name
  • Created Date

IMPORTANT: It is mandatory to include the GSID field. Without this field, you cannot use the Load to Activities Action type.

Show fields.GIF

  1. 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.
  2. This ensures that all of the companies created on rule run date with Status of New Customer are fetched in the dataset.

Filters.GIF

  1. Click SAVE.
  2. 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

  1. 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

  1. Enter values in the other fields as required.
  2. Click SAVE.

You can now schedule the rule, 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

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.

  • Was this article helpful?