Juan Cortines (cortj)
Principal Software Engineer
Pegasystems Inc.
cortj Member since 2014 7 posts
Posted: June 12, 2015
Last activity: June 16, 2015
Posted: 12 Jun 2015 8:48 EDT
Last activity: 16 Jun 2015 4:36 EDT

Quiz question on Enforcing Data Relationships with Declarative Rules lesson - Property Dependencies


This is the quizz question:

Which of the declarative rules do not establish a dependency on specific properties? (Choose All That Apply) 

  • Declare Expressions (False)
  • Constraints (False)
  • Declare OnChange (False)
  • Declare Trigger (True)
  • Declare Index (False)
  • Data Page (True)

I'm having some difficulties trying to understand why a Declare Index rule does necessarily have to establish a dependency with one or more properties.

Please note that by dependency I'm referring to a relationship in PRPC's Declarative Network via Forward and Backward Chaining.

My understanding is that a Declare Index rule is necessary in order to optimize properties for reporting. According to the documentation (https://pdn.pega.com/reporting/how-to-create-a-declare-index-rule-for-an-embedded-property-with-the-property-optimization-tool), a Declare Index rule is created every time a property is optimized for reporting.

I understand that in some cases it might be desirable to automatically create an index based on some condition (e.g. When rule), but in general it seems to me that most of indexes will be established at design time.

Based on this my understanding it that a Declare Index subscription to a property value change should be optional and not mandatory 

So my question is: Is that not the case? Does it always evaluate when the property changes?

I checked on PRPC and found that some properties referenced by Declare Index rules posses no relations in the PRPC's Declarative Network (Property, Advanced, Explore & Declarative Network)

I get the feeling that I'm not really understanding the full meaning and purpose of this Declare Index rules and the documentation does not really help much.

I'd really appreciate if somebody could explain it on detail.


Juan Cortines

Pega Academy
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.