PGP entities are a collection of robust data structures that model data elements that are commonly used in government processes. The PGP entities are persistent data classes that come pre-configured as a part of PGP.
Entity data structures serve two distinct purposes within PGP: first, Entity instances are persisted to a data store like any local data type or data table; second, Entity data classes are used as a type for embedded pages defined on the PGP work ancestor to support case processing.
Persistent Data Store
An entity data class (Data- class) is managed (curated) in an independent data store (database table) by the Add, Update, View and Search case types (Work- classes).
Case Type embedded page
An entity data class is also used as a type for embedded pages incorporated into the PGP work ancestor. These embedded pages are used by the PGP component processes to implement PGP features.
PGP Entities follow a pattern of Persistent Data curated by Business Processes. This pattern allows for the possibility that in a customer implementation the entity datastore may be mapped to customer resource that is external to Pega and PGP. In this pattern a persistent datastore descended from PegaPS-Data-Entity is added, updated, viewed, and searched by Case Types descended from PegaPS-Work-Entity.