Skip to main content

Table of Contents

Adding an entity type

The Manage associations case supports all four existing entity types: Person, Business, Facility, and Vehicle. If there is a requirement to include a new entity type (for example, Land) that was created in an application, then complete the following steps.

This example uses "Land" as the new entity type. The entity should be replaced where applicable with the new entity type that you are adding.
  1. In the Option map (PegaPS-Data-Config-OptionMap) data type, in the field FromAssocType, add a new entry for Land.

  2. In the Option map (PegaPS-Data-Config-OptionMap) data type, for the new field value LandAssocType, add entries for Person, Business, Facility, and Vehicle.

  3. Update the D_EntityList data page to add logic for Land.

  4. Update the PreFromAssociateSearch (PegaPS-Work) data transform to add logic for the new entity type.

  5. Create a FromAssociateSearch section for the new entity to add search criteria and results.

  6. Update the PreAddAllassociates and ResetAddAssociate data transforms to add logic for Land.

  7. Update the AddAllAssociates section to include the AssociateLand section and visibility condition.

  8. Create a data transform for initializing a new Land page, which is referenced when you create new Land when adding it as an associate.

  9. Update the ValidateAssociations validation rule to add logic for Land.

  10. Update the PostAddAllAssociates activity to add logic for Land.

  11. Update the CheckduplicateAssociation activity to add logic for Land.

  12. Update the SaveAllAssociates activity to add logic for Land.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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