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

Issue with Declare Index rule



Developer has configured a declare index to trigger when a property is inserted or updated into the database. Sporadically, when the bulk transfer is been performed, one out of ten records is failing to get inserted into the database.

Error Messages

Not Applicable.

Steps to Reproduce

1. Set a declare index rule to trigger when a property (Page list) is updated or inserted.
2. This Index rule is set to insert a new instance into a data table.
3. Check to see if the table is getting inserted with a new instance every time the rule is triggered.

Root Cause

The issue is due to the index value not being properly incremented for every new insert. 


Configure "pzreindex=true". This ensures that all indexes on the work object are populated correctly. That is,Setting pzReindex to True will do a force re-indexing and the existing index values are ignored.

Published July 27, 2016 - Updated October 8, 2020

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