Unable to expose property and populate column
SummaryUnable to expose a property and populate a column. This occurs when the property is mapped externally to a class before exporting the column.
Error MessagesNo Valid classes in the hierarchy
Optimization cannot be performed for classes in this hierarchy because of one or more of the following reasons: they are abstract or in a Pega shipped ruleset or mapped to either pr_other or an external table.
Steps to Reproduce
- Create a property.
- Expose the property using the Expose for Optimization option.
Root CauseThe class is concrete and mapped to the pr_other table. Hence, the property in the class cannot be optimized.
ResolutionHere's the explanation for the reported behavior:
The pr_other table contains instances of many classes and optimization requires a structure change of the table. However, the pr_other table must not be changed and hence cannot be optimized.
For optimizing, perform the below steps:
- Create a concrete class which is a class group.
- Add the property that must optimized in the same class.
Published April 19, 2018 - Updated October 8, 2020