+ Start a Discussion

Trigger to create the records in batch mode



    I just created one custom object Called "Busienss profile Track"for Account. So here, if new account is created or any of the fields updated from Account, then my trigger will create the tracking record in this Custom object. So each and every time, record is created.


  But here the pbm, in Business they are going to insert some lakhs of Account records.So at this time many Business Profile Track records will be created for each and every field of Account.My trigger will work for less number of records.


  So anyone please help how to handle the above situation to handle the lakhs of record creation.





As long as you properly bulkify your trigger, it should be able to handle a large operation.