Skip to main content
Nikhil Reddy ha fatto una domanda in #Apex
Need help with SOQL query. When I search by contact I need to retrieve all the cases related to that contact and also all the other members that are related to each case.
2 risposte
  1. 28 mag 2020, 13:49
    Hi Anutej,

    I have a jucntion object between case and contact to hold the relations between them. Now when i search by a contact name, I need to display all the cases that this contact is on and also i need to display all the other contacts which are on each of those cases returned.

    ( Note: One contact can have many cases and One case can have many contacts. Many-to-may relation between Case and contact.)