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

Declare index does not populate all columns inassociated table

SA-31780

Summary



User observes that after a migration a declare index rule is not populating all defined columns to the associated database table. 


Error Messages



Not applicable


Steps to Reproduce



Not applicable


Root Cause



Suspected environment issue.

Resolution



Perform the following local change steps:
  1. Save the database table corresponding to the index class in order to verify that the pr_sys_decchg table contains a row with pxChangeProperty="ColumnName" (ColumnName used to represent an example column title). 
    1. After step 1 the "ColumnName" column will populate for new work items. However for existing work items the column will still have null values.
  2. To correct the existing work items:
    1. Create a wrapper activity to open the targeted work page and call ReCreateIndexesForClass,​ passing that page, to recreate index values
Pega Help file says
(https://pdn.pega.com/sites/pdn.pega.com/files/help_v721/procomhelpmain.htm#rule-/rule-declare-/rule-declare-index/related.htm
 
"If the index instances in your system are incomplete, or become corrupted or suspect, you can recreate them:
  • Execute the standard activity named @baseclass.RecreateIndexesForInstance to create index instances for one base instance."

Published January 13, 2017 - Updated October 8, 2020

Was this useful?

66% 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