Support Article
Declare Index is not updated on updating source class property
SA-60042
Summary
A Declare Index is not updated when the Kit source class property is modified. On resaving the Declare Index rule, an error displays in the log. As a result, unable to change the 'Source page context class' from Data-Party to a custom class.
Error Messages
Unable to process Declare Index Reference: .Kit.KitSentDate for index RULE-DECLARE-INDEX ORG-WORK INVESTIGATION #20180604t150420.491 GMT com.pega.pegarules.pub.database.DatabaseException: Unable to digest declarative reference; unable to obtain Property ".Kit" for class Data-Party in reference .Kit.KitSentDate: code: SQLState: Message:
Steps to Reproduce
- Create a Declare Index for the pyWorkParty page group property
- Add a work party in a case and check if index is added
- Update the indexed property value in the same pyWorkParty page and check if the change is reflected in the index table
Root Cause
A defect in Pegasystems’ code or rules. The Kit property was defined in a custom class, not the Data-Party class.
Resolution
Apply HFix-45204.Published July 25, 2018 - 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.