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

All ruleset versions display instead of only required versions

SA-105187

Summary



On opening a ruleset in Pega Developer Studio, all the ruleset versions in the system display instead of only the versions required for the selected ruleset.




Error Messages



Not Applicable


Steps to Reproduce



Open a ruleset.


Root Cause



According to the Trace, the SQL database query executed as Step 2 of the OpenUIDefaults activity does not use the pyRuleSetName in the Where condition. Hence, all Rule-Ruleset-Version instances are returned when the screen is built.

Example of a Problem Trace:



Multiple rows are returned for a single ruleset.



Example of a Working Trace:



Below is the criteria from the OBJ-BROWSE:

Set Select Field to .pyRuleSetName
Set Condition to IsEqual
Set Value to Primary.pyRuleSetName
Set Sort to No Sorting





Resolution



Perform the following local-change:
  1. Use the below API to rebuild the VTable cache.

    /api/v1/nodes/all/caches/vtable/rule_types/{{pxobjclass}}/instances/{{pxinsid}}/reassemble
     
  2. Use the below parameters:

    "Rule-Obj-Activity" / "!OPENUIDEFAULTS"

Published April 16, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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