Activity Forums Salesforce® Discussions What is the best method to eliminated nested for loop in a trigger in Salesforce?

  • What is the best method to eliminated nested for loop in a trigger in Salesforce?

    Posted by Anjali on March 6, 2020 at 6:02 pm

    What is the best method to eliminated nested for loop in a trigger in Salesforce?

    Deepak replied 4 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Deepak

    Member
    March 9, 2020 at 8:17 am

    Hi Anjali,

    Try Map instead of List.You will find it will be done using Map.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos