Declare index ignored on data class
A data type is mapped to an internal table that has an embedded page list which must be exposed for reporting. However, the system does not consider the declare index created on this data class.
Without this declare index, custom code must be written to expose this data.
Steps to Reproduce
- Create a data class.
- Use the list property on this class.
- Optimize one of the properties in the list.
- Create a page of this data class and use it in the work.
- Create a case. Declare index is not triggered.
An issue in the custom application code or rules.
Here’s the explanation for the reported behavior:
According to the corresponding Help page,
|Apply to||Select a concrete or abstract class that defines the scope of the indexes. At runtime, a clipboard page of this class must be a top-level page. Concrete objects in classes derived from this class are candidates for indexing under this rule.|
For more information, refer to: https://community1.pega.com/sites/pdn.pega.com/files/help_v74/procomhelpmain.htm#rule-/rule-declare-/rule-declare-index/new.htm
Since the top level page does not have the declare index, optimize for reporting from the work class.
0% found this useful