Activity › Forums › Salesforce® Discussions › Self relationship in Salesforce
-
Self relationship in Salesforce
Posted by krati vishnoi on April 6, 2020 at 4:13 PMWhat is self-relationship in Salesforce?
Anjali replied 6 years, 1 month ago 5 Members · 4 Replies -
4 Replies
-
A Self-Relationship is a lookup relationship to the same object. For example : we have a field on Account which is Parent Account that allows us to choose any account for being a parent account of an existing one.
- [adinserter block='9']
-
Hii Krati,
A Self-Relationship is a lookup relationship to the same object. For example : Case Object ,there is self lookup. -
Self-relationship:
When an object has a lookup with itself, it is a self-relationship. A self relationship creates a tree diagram of the objects. For example, the account has a lookup on himself, called Parent Account.
On the user object a special self-relationship called the hierarchical relationship helps create superior roles such as supervisor, manager on user object. The hierarchical relationship is a self-relationship of the user object. -
This is a form of lookup relationship where instead of two tables/ objects, the relationship is within the same table/ object. Hence the name self-relationship. Here, the lookup is referenced to the same table.
Log In to reply.