Skip to main content
Hi Fellas,

 

Options are :

 

A) Account a= [select id , Name from Account where Id= :con.AccountId LIMIT 1]

 

B) delete contactList();

 

C) contactList.remove(i);

 

D) Contact con=new Contact();
11 risposte
  1. 13 mar 2019, 06:53
    Yes,

     

    Consider number of time loop is running. Today it could be leeser but going forward if you have more contacts, loop size can be more.

     

    And in 1 synchronous transction, it will get into governor limits.