Activity Forums Salesforce® Discussions Self relationship in Salesforce

  • Pooja

    Member
    April 7, 2020 at 10:17 am

    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.

  • Marziya

    Member
    April 7, 2020 at 12:02 pm

    Hii Krati,
    A Self-Relationship is a lookup relationship to the same object. For example : Case Object ,there is self lookup.

  • Manish

    Member
    April 7, 2020 at 1:20 pm

    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.

  • Anjali

    Member
    April 7, 2020 at 2:21 pm

    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.

Popular Salesforce Blogs