Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Person entity

Updated on September 9, 2021

Pega Government Platform provides data support to collect data about people in the form of Person Entity.

Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide Pega Government Platform Implementation Guide

The Person Entity feature contains a persistent datastore and three supporting case types to manage the Person Entity datastore.

Add Person case type

Add a person case type. Using the PegaPS-Work-Entity-Person-Add case type, you can introduce a new entity of the type Person into the system.

The Add Person case type checks for duplicate person entries and notifies about the same. The case type persists the person record along with the supported data like address, communication, communication preference, profile image, security questions, and so on.

Adding a new field to the person intake screen

Capture a new field in the person intake screen. You can add a new data field or property and extend the existing person intake screen.

  1. In the Person data type, create a field, for example, Spouse Name.
  2. Run the Person case type, and then navigate to the PersonBasicInfo view.
  3. Click the Add icon, and then add the new field. A part of the UI section showing the persisted field name.
Result: The new field is automatically saved in the person table.

Updating duplicate check validation for a field

Update the existing duplicate check fields with new fields.

  1. Open the CheckDuplicate (PegaPS-Data-Entity-Person) case match rule.
  2. Add a new field by clicking Add must match condition.
  3. Update the filter logic accordingly.
  4. Click Save as.
  5. In the Context section, select an application.
  6. In the Add to ruleset area, select a ruleset and the ruleset version.
  7. Click Create and open.

Adding a new list item

Update an existing list of items with new items.

Add a new list item, for example, GrantsList and persist it.
  1. In Dev Studio, in the PegaDATA database, create the Grant data type with the following properties: pyID (Primary key), EntityID, and EntityType.
  2. Add other properties that are related to the Grant, such as the grant name, expiry date, and so on.
  3. In the Person data type (PegaPS-Data-Entity-Person), create a field of type page list of Grant data type class.
  4. Update the PersitEmbeddedPage (PegaPS-Data-Entity-Person) activity with a new step that loops the GrantsList property, and then invoke the activity SaveObject by passing the EntityID and EntityType parameters similar to CommList.
  5. Create a UI to capture the Grant details.

Update Person case type

Update the existing Person case type. Using the PegaPS-Work-Entity-Person-Update case type, you can update the details of an existing entity.

You can make changes to the person data and submit them. The details persist after the duplicate validation check ensures that there are no duplicates.

The D_Person data page fetches the entity details along with associated data like address, communication, and so on.

Updating an existing list property

Update an existing list property, for example, GrantsList.

You can update the existing list properties for the person entity. Fetch the grant details to update the existing list of grants that are captured as a part of the Add Person procedure.

  1. Update the FetchPersonDetails (PegaPS-Data-Entity-Person) data transform.
  2. Add a step similar to CommList or AddressList to set the details using the corresponding grant data page of type: List.
Result: The Update case populates the details and any changes made are persisted.

View Person case type

View the details of a person entity. Using the PegaPS-Work-Entity-Person-View temporary case type, you can view the complete details of an existing person entity.

The EntityDetails (PegaPS-Data-Entity-Person)wrapper section contains all the person related views or sections.

Adding a field to the person view

Add new fields to an existing person view.

Add a field, for example, Spouse Name to the person view.
  1. To add the field, navigate to the EntityDetails wrapper section and choose the appropriate section to show the field, for example, the Entity details section.
  2. Add the new field along with the existing ones.

Showing captured list details in the person view

Show the captured list, for example, GrantsList details in the person view.

  1. Create a view or section in the PegaPS-Work-Entity-Person-View class.
  2. Include the section in the Main Content region of the pyCaseMainInner view.

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us