Activity Forums Salesforce® Discussions What is the junction object in Salesforce and what is it used for?

  • krati

    Member
    January 17, 2020 at 1:25 pm

    A junction object is a custom object with two master-detail relationships.

     

    Example: For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs.

  • Ratnesh

    Member
    January 17, 2020 at 1:48 pm

    Junction object is to achieve Many-to-Many relationship model in Salesforce. It means that each record can be associated with many records using the Junction object which keeps the reference of records.

    Here is a example of junction object which shows many-to-many relationship in schema builder. Here junction object is user which show Many-to-Many relationship.

    I hope picture will help you better to understand junction object.

  • Shweta

    Member
    February 13, 2020 at 2:51 pm

    Junction object: A junction object is an object when we can create many-to-many relationships using two master-detail relationships in an object.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos