Support Article

Unable to see the Rule Counts in the Rulesets



When deploying the Pega Platform code rulesets into system test environment and opening the ruleset, developer was not able to see the rule counts in the ruleset.

The Rules were copied into the target system. When user searches the rule names in the search box, able to find the rules.

But not able to see the rule count in the ruleset definition. This behavior is not manifesting in some PRPC environments.

Error Messages

Not Applicable

Steps to Reproduce

1) To clone the TestA environment to create TestB. TestA is in working condition and able to see all the Ruleset counts.
2) At this point, when developer logs into TestB, one can see all the ruleset counts when Ruleset rule is opened.
3) To deploy another Ruleset in TestB, for which users were unable to see the Ruleset Count.

Root Cause

Misconfiguration in the environment having database Triggers pointing to different schema in TestB environment.


The PR4_RULE_VW table was populated with the expected rules. In versions prior to Pega 7.1.8, database triggers were used to maintain the PR4_RULE_VW table. So, if table does not contain the expected entries, check to see if the database triggers are enabled.

User is advised to recreate the database Triggers and redeploy the code.

Published October 7, 2016 - Updated November 4, 2016

Have a question? Get answers now.

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