Braam Smith (BraamCLSA)
Partner Success Tech Lead - APAC
Pegasystems Inc.
BraamCLSA Member since 2012 100 posts
Posted: October 28, 2020
Last activity: October 29, 2020
Posted: 28 Oct 2020 23:01 EDT
Last activity: 29 Oct 2020 6:29 EDT

Data Classes: Including self-referencing properties [LSA Data Excellence]

Yes. Examples include an Income class may include a "Spouse Income" property that is also of type Income; whilst an Employee class is often found to have a Manager property of type Employee.

There are no more restrictions in Pega than in any other platform on implementing this as part of your data design, although (as in any platform) you would need to be mindful to not implement a recursive usage of the self-referencing property. For example, a loop that starts with the User A's Manager (B), then proceeds to User B's Manager (C), then User C's Manager risks entering an infinite loop if User C's Manager is set to User A. 


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

***Edited by Moderator: Pooja to add Developer Knowledge Share tag***
Pega Platform 8.4.1 Data Integration Case Management Lead System Architect Senior System Architect Developer Knowledge Share