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 delete data from index table



You have a Declare Index rule that does not delete data from the index table if a Page is removed from the related Page List.
Adding a Page works fine and inserts an entry to the index table.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a Declare Index rule in Class A (which should not be the Class of the top-level Page at run time) for the source Page context of Class B.
  2. At runtime remove a Page from the Page List of Class B.
  3. Review the table that the Declare Index points to.

Root Cause

A software use or operation error whereby the Declare Index rule is created in Class A, but the removal of Pages from  the Page List is done when the top-level Page is of Class C. That difference in Class results in the indexes not being deleted.


Perform the following local-change:

Save As (Copy) the Declare Index rule in a top-level page of Class C with the source Page context Class as B. Then whenever the pyWorkPage is saved, the corresponding indices will be updated.

Published February 7, 2019 - Updated October 8, 2020

Was this useful?

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