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 write in to the index table correctly

SA-11080

Summary



Declare index does not always fire and the index table is not in sync with the work object embedded page.

Error Messages



Not Applicable

Steps to Reproduce



1. Construct an application with a declare trigger rule.
2. Have the declare trigger update the work object fields tracked by the declare index.


Root Cause



The root cause is a defect in the application rules. Change tracking for the declare index occurs prior to the declare trigger, therefore, work object updates must not be performed at this point.

Resolution



This issue is resolved through the following Local-change: 

Refactor the updates to the work object to an earlier part of the application process. The extention point Activity UpdateDefaults is a good place to perform additional processing when a work object is updated.

Published June 29, 2015 - 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