Updated 14 October 2025
A Self-Relationship in Salesforce is a lookup relationship to the same object. It creates a tree diagram of the objects.
Suppose we order some product from an online store, but we have not got the right product at the moment of delivery.
So we raise the case to replace the product and the second time we got the right product, but the product is not worth of money.
So we raise the case for a refund
Our first case becomes a master or Parent case and the second becomes the child
On the user object a special self-relationship called the Hierarchical relationship.
It helps create superior roles such as supervisor, manager on the user objects.Goto Setup -> Object Manager-> User -> Fields -> New
We will find Hierarchical Relationship instead Master-Detail & Lookup



4. Change the Field label to Related Account which is depend upon what you want to write here we write Related Account then click on Next button.
5. Click Next,Next and Next then changed the Related list label to Related Accounts then click on Save button.

1. Click on App Launcher and choose Accounts.
2. Then Click on New button, then enter the details of the new account.

3. Click the Related Account field and choose the account which you want to choose here we choose test account then click on Save button.

4. Notice that that test appears as a related account for webkul test (You may need to refresh the page.)

That’s all for Self-Relationship in Salesforce. If you have any issue feel free to add a ticket and let us know your views to make it better https://webkul.uvdesk.com/en/customer/create-ticket/
Webkul is a proud salesforce partner and offering “salesforce consulting services” https://webkul.com/salesforce-consulting-services/
Read More: https://eshopsync.com/salesforce-developer-experience/
Welcome back! Please enter your details
One or more fields have an error. Please check and try again.
Don’t have an account? Sign up
How can we help you with your business?
Your email address will not be published. Required fields are marked *