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

Unable to change History class to Table mapping



In the Pega Application Explorer, on creating a Data class, the class is automatically linked to a CustomerData schema. However, the History class is linked to the PegaDATA. The user is unable to change the History class to Table mapping since it reverts to PegaDATA on reusing the Application Explorer.

Error Messages

Not Applicable

Steps to Reproduce

Create a Data type from App Studio. Verify the mapping.

Root Cause

When a Data type is created from the App Studio and its data source is provided, the Pega application creates two classes by default. One class maps to the Customer data, while the other with a prefix History maps to PegaDATA.


Perform the following local-change to create a data type:
  1. Navigate to the App Studio > Data > Create new data type.
  2. In the window, enter the name for the new data type (in this scenario, mapping).

  3. In the Define Source data, select Later.
  4. Click Submit and add a few properties (for example, Case Name).

  5. Switch to Dev Studio.
  6. Navigate to Data types.
  7. Select the data type created (that is, mapping).

  8. Click the name of the data type created.
  9. Navigate to the Sources tab.

  10. Click Create a Local source.
  11. On the popup, select the key.
  12. Change the database name to PegaDATA.

  13. Navigate to App Explorer.
  14. Navigate to Data class of this data type. Verify with Test Connectivity. PegaDATA displays.

Alternatively, navigate to the Database Table in SysAdmin. Open the data type record. The correct database displays.

Published August 21, 2020 - Updated December 2, 2021

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