Skip to main content


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

Adding more tracking time periods for contact policies

Updated on August 4, 2022

Contact policies track responses to actions over a specific period of time. By default, responses are tracked over a period of 7 or 30 days. If required, you can add more tracking periods by creating a new Interaction History time period, and then updating the part of the Next-Best-Action Strategy that references it.

Pega Customer Decision Hub
Note: Contact policies determine when and for how long an action or a group of actions should no longer be shown to the customer. For example, if a customer views an ad for an action five times without responding, the add will no longer be shown to that customer over the next seven days. Suppressing or pausing an action prevents over-saturation by limiting the number of times that a customer is exposed to the same action.
  1. In Dev Studio, click ConfigureDecisioningDecisionsData SourcesInteraction History Summaries.
  2. Open the Interaction History rule Action Outcomes for the past 7 Days or Action Outcomes for the past 30 Days by clicking ManageEdit.
  3. Click Save as to save a copy of the rule into your data set.
  4. In the Time Period section, adjust the time period as required, as shown in the following figure:
    Sample value for the time period
  5. Click Save.
  6. Click Check in.
  7. Search for and open the ActionOutcomesForThePast07Days or Action Outcomes for the past 30 Days field value.
  8. Click SaveSave as to save a copy of the rule into your data set.
    You must give the new field value rule the same name as you gave to the new Interaction History rule.
  9. In the To field, enter the same number of days as you specified in the Time Period section, as shown in the following figure:
    Sample configuration of the field value rule
  10. Click Save.
  11. Click Check in.
  12. Search for and check out the CheckOutcomeLimitsIHSummary strategy.
    This strategy checks the contact policy threshold for specific channels, for example, web, email, or SMS. It is a sub-strategy of the BehavioralLimits strategy.
  13. Add an IH Summary shape to the strategy canvas by copying one of the existing shapes.
  14. In the shape properties, fill out the name and description, and select the new Interaction History rule in the Select Aggregate Dataset field, as in the following figure:
    Sample IH Summary properties
  15. Modify the Select IH Summary switch rule component to reference your new IH Summary.
    1. Add item in switch component with the condition ExternalInput.IHSummaryName =ActionOutcomesForThePastxxDays.
      Adding a switch component to the Select IH Summary
      Adding a condition to the component.
    2. If necessary, adjust and add conditions to the already existing component.

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.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us