Skip to main content


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

Adding an entity type

Updated on January 18, 2021

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.

Note: 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.

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