Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Designing Criteria Segments

Updated on August 4, 2022

This section describes the default method of designing Criteria Segments. If required, you can also build a Criteria Segment by using a legacy non-visual rule form.

For more information, see Designing Criteria Segments by using a rule form (deprecated).

Pega Customer Decision Hub
To design a Criteria Segment, add one or more criteria groups. A group is a container for multiple criteria that can be combined together to represent a desired logical grouping of the population. These groups are evaluated from top to bottom and can be organized into sets.
  1. In the Designtab of a Criteria Segment, click Add group.
  2. Click Add criteria.
  3. Provide values in the fields on the following tabs:
    • Analysis project - Lists all the predictors available in the Analysis Project. This is only available when you associate an Analysis Project with the Segment and run the Analysis Project at least once.
      • Recommendations - Lists the best performing predictors from the modeled analysis for the selected Analysis Project. That is, it shows the predictors which are the most effective at predicting the required outcome.
      • Modeled fields - Lists all the predictors available in the Analysis Project that have been assembled during the execution of the modeled analysis. By default, the predictors are sorted by the Performance column. The predictors which are the most effective at predicting the required outcome are displayed on top of the list.
      • Static fields - Lists the set of static attributes from the Analysis Project which have been processed as part of static analysis execution. The Group column displays the number of groupings for the predictor. The Count column displays the number of items across all groupings for the predictor.

      For more information about Analysis Projects, see Configuring Analysis Projects (deprecated).

    • Data fields - This tab allows you to select the customer data fields which you want to use as criteria in your Segment. Use the Search box to look for specific data fields, or scroll through the list of available fields. The following types of data fields are available in this tab:
      • Customer - data fields for customer properties, for example CustomerType or Customer Lifetime Value.
      • CustomerHistory - data fields for customer history, for example the Outcome of an interaction with the customer.
      • You can also configure other associated data entities which should be available in this tab, for example CustomerAddress . To configure additional data entities, click Settings in the App Studio navigation bar, then click Context Dictionary.
    • History fields - This tab allows you to select the criteria related to treatment and action responses. For example, you can use the Received action via channel during a time period to look for customers who were sent an email with an action within the last two weeks.
    • Segments - This tab allows you to select other Segments as criteria within this Segment. For example, you can select which existing customer Segment should be excluded from this Segment by selecting the existing Segment as a criterion and then clicking Exclude. Selecting a Segment criterion automatically includes or excludes all customers in that Segment.
  4. Click any criteria to add them to the criteria group.

    For example, if you want the Segment to include only customers above a specific Customer Lifetime Value, add the Customer Lifetime Value criterion and then enter a Greater than value. Depending on the criteria type, you may need to specify additional settings. For more information, see Criteria Types.

    You can add up to 26 criteria to a criteria group. By default, the criteria are applied with an AND logic. For example, you can look for customers with Customer Lifetime Value greater than 100 000 AND located in the United States.

  5. If you want to change the relationship between some criteria to OR, edit the value in the Logic string field. For example, you can configure the criteria group to look for customers who match both criterion A AND criterion B, OR criterion C.
  6. Optional: To remove a criterion from the logic string and the Segment, click the Delete icon .
  7. Click Add group to add another criteria group, if needed. You can add multiple criteria groups and combine them by using the following actions:
    • Start with – Selects customers in the top group to be combined with the actions of the other criteria groups.
    • Intersect – Includes customers that meet the group’s criteria in the Segment population. This action is available for groups other than the first.
    • Exclude – Removes customers that meet the group’s criteria. This action is available for all groups.
    • Merge – Adds customers matching the criteria to the Segment. These customers do not have to meet the criteria that is specified in the preceding groups. The Merge action removes the duplicate customers that would be added to the Segment. The Merge action is available for groups other than the top group.

    The WATERFALL COUNT field reflects the flow of customers through Segment criteria groups.

  8. Optional: To rename a criteria group, double-click on the group name.
  9. Optional: To remove a criteria group, click ActionsRemove.
  10. You can also organize criteria groups into separate sets for easier viewing. Click the + icon to add a new criteria set.
  11. Optional: To rename a set, double-click on the set name.
  12. Optional: To remove a set, click X by the set name.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us