Skip to main content

Common Data Model

The Common Data Model is a Pega-developed data model that supports the Pega Constellation versions of Pega Platform™ and Pega applications.

The Common Data Model includes entities that most Pega applications use. The model provides a starting point for developing the data model for your application. By providing pre-configured entities, the model saves development time and promotes the reuse of data.

The Common Data Model includes:

  • 12 data entities. An entity is a template for describing an object, such as a person or an item, by grouping a set of related fields. The Account entity defines the fields and related data items that the system uses to process Account activity.
  • 12 case types. A case type is a template for describing a workflow, such as creating a new contact or account. The Common Data Model includes a case type for each of the entities.
  • Data objects that group related data that any of the entities can use. For example, the Address data object defines fields such as a street address, city, and state.
  • Local data storage (database tables) for its data objects.
  • API layer that allows client applications to perform basic create, read, update, and delete (CRUD) operations with data in local storage.
  • Data pages that use connectors to connect to this API layer.
  • A Data Portal through which you upload sample data and view the model using the data.

The Common Data Model document describes each entity and data object that the model provides.

Example use case

Pega Platform applications use entities to process cases to collect related case data.

For example, an application might contain an Account entity that you can use in two case types: one that allows the customer to transfer funds between bank accounts and one that allows the customer to change the address that is associated with their account. The Account entity includes fields that describe an account, such as Account NumberCurrent Balance, and Next Statement Date. Referencing the Account entity avoids the need to define account-related fields for each case type.

Account data model shared by two case types

You can use an entity as many times as needed in your application. In the preceding example, the Transfer Funds case type can use the Account entity to model both the source and target accounts for the transfer.

The collection of entities and data objects in your application holistically defines the data model for your application.

Purpose of the Common Data Model

The Common Data Model facilitates the reuse of data objects, case types, and data pages across one or more applications, which makes it easier to develop the data model for your application and maintain data in the appropriate system of record (SOR).

Common Data Model shared by multiple applications

The Common Data Model uses the following features so that you can incorporate data into your Pega applications:

  • Data virtualization separates how your business applications use data from how and when data is accessed.
  • Pega Cloud® storage or integration with your data source is available for your data storage.
  • Pre-built data and case types use consistent design patterns. Data objects and case types provide common error handling across cases, data pages, and APIs.
  • Entity-based cases provide maintenance and process to your data and use case management and real-time, open APIs. Data page templates include operations to search, create, update, and annotate data.
  • All the Constellation versions of Pega applications, such as Pega Customer Service™ and Pega Sales Automation™, use the Common Data Model.
  • If you have multiple applications built on Pega Platform, using the Common Data Model lets you reuse data objects across applications and streamlines application development.

Data Portal

The Common Data Model includes the Data Portal through which you upload sample data and view the entities and objects with data records. Although the primary objective of the Data Portal is to facilitate development, you might find that portions of the portal help you to implement your own user interface.

You can use the data portal to view the default data objects and determine which data objects to use in your application.

The following figure shows the Data Portal with the Accounts landing page open. The Accounts entity defines fields for Name, Account ID, Value, and Relationship type for consumer accounts. The records shown on this page are from the imported sample data.

Accounts landing page in Data Portal

Integration of the Common Data Model

As a best practice, use the following approach to integrate the Common Data Model in a new application:

  1. Install the Common Data Model as described in the installation guide.
  2. Create an implementation application based on the Common Data Model. The new application inherits the components of the Common Data Model. For more information about creating your application, see Creating a new application in the Pega Common Application documentation. 
  3. Use the Data Portal to review the available data objects and case types with the imported sample data.
  4. Compare available objects to your required data.

    Map your application data to the Common Data Model. Use the Common Data Model entities as much as possible.

  5. Extend the data objects in the Common Data Model to accommodate your application's data requirements.

    Maintain the design used by the Common Data Model. For more information, see the Extending the data model in Pega Common Application documentation.

  6. Document your data model to enable the developers who maintain it.

This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

50% found this content useful

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy 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