Support Article

Rule Count incorrect on Product Rule

SA-38651

Summary



Users observe the Product rules display the improper rule count upon click of the 'Preview' option to check the total rule count.

Error Messages



Not Applicable


Steps to Reproduce

  1. Create a product file
  2. Enter the rulesets in the "RuleSets to include" section with Exclude non-versioned rules" checked.
  3. Enter the When Condition under "Class instances to include" Section.
  4. Preview the product rule, it doesn't show proper rule count.


Root Cause



A defect in Pegasystems’ code or rules.

Values of mMinVersion and mMaxVersion should be reset to null values after "rulesets to include section" condition is processed in product rule.

Otherwise it will affect condition of "classes to include" section also. This happens only in special case when 'Rule-RuleSet-Verson' class is included in classes to include section.


Resolution



Apply HFix-34764.

Published May 29, 2017 - Updated June 12, 2017

Have a question? Get answers now.

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