Close popover
Braam Smith (BraamCLSA)
Partner Success Tech Lead - APAC
Pegasystems Inc.
BraamCLSA Member since 2012 100 posts
Posted: September 23, 2020
Last activity: September 24, 2020

Polymorphism use case: Regionally-specific address structures [LSA Data Excellence]

Are Regionally-specific address structures another Polymorphism use case?

I think this is a good use case for Polymorphism.

  • USA, Canada and Australia all capture "State" whilst (most) other countries do not.
  • Canada could class-specialize a Field Value rule for "State" to be labelled "Province".
  • Postcode validation algorithms vary by country.
  • Each country likely has a preferred Address validation service that returns a standardized format of a validated address that can be used by the application.

All of this could be encapsulated in the country-specific, class-specializations for each type of address.


Discussion on this topic was sought from the LSA Data Excellence (Pega 8.4) webinar conducted in July 2020. The webinar and its full set of discussions that arose from it are available at LSA Data Excellence: Webinar, Questions & Answers

Pega Platform 8.4.1 Data Integration Case Management Lead System Architect Senior System Architect Developer Knowledge Share