Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Segment result Count is incorrect

SA-106687

Summary



Pega Marketing 7.4 is built on Pega Platform 7.4.

The Segment fetches the incorrect JOIN condition when using an Association of a class in the primary and secondary Contexts.



Error Messages



Not Applicable


Steps to Reproduce

  1. Create a segment on the Customer level.
  2. Create an Association in the Customer.
  3. Use the filter condition in the Segment using the Association. The joining of the Customer table with the Association table is not based on the Customer ID. The Join is based on the Account number (BAN_NBR), though the Association is created on the Customer.


Root Cause



A defect in Pegasystems’ code or rules.
The issue occurs due to the limitation of the product for a single Association class with two different parents. This occurs due to the Data model used to store these class stacks, where each of the class has a single ParentClass value and a single ParentAssociation page which contains the relationship with the parent. The issue does not occur due to same name used for the association.



Resolution



Perform the following local-change:
  1. Remove the existing association from both parents.
  2. Ceate a child of the Association class and an appropriate Association rule to map to the Secondary context (do not define a Data-Admin-Database-Table (DADT) such that it inherits from the parents' table).
  3. Readd the existing class as a child (Association) of the Customer Context.
  4. Add the new class as a child (Association) of the Secondary Context.
Suggest Edit

Published June 12, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us