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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.