Support Article

Unable to expose property and populate column

SA-47410

Summary



Unable to expose a property and populate a column. This occurs when the property is mapped externally to a class before exporting the column.


Error Messages



No 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

  1. Create a property.
  2. Expose the property using the Expose for Optimization option.


Root Cause



The class is concrete and mapped to the pr_other table. Hence, the property in the class cannot be optimized.


Resolution



Here'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:
  1. Create a concrete class which is a class group.
  2. Add the property that must optimized in the same class.

Published April 19, 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.