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 rule is not executed in specific scenario



A Declare Index for notes is not fired when the work object is created via an Agent.

Even if a user manually adds a note to the work object created by the agent, the Declare Index does not fire.

If the work object is created manually by a user, then the Declare Index is executed.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a work object via an agent.
  2. Add notes to the work object.

Root Cause

An issue in the custom application code or rules.

Enabled debug logging on the class and the log message showed one of the source properties was blank.
WARN - Not indexing ORG-WORK W-1 due to a blank property (top.pyOrigUserWorkgroup ), which is disallowed by RULE-DECLARE-INDEX ORG-WORK NOTESINDEX #20150324T073319.875 GMT


Perform the following local-change:

Check the "Index even if source class property is blank" option on the Declare Index rule if index entries should be created when a source property is blank.

Published December 19, 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