function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
aj4aj4 

Mass/Bulk Update of Sales Force through Apex

Hi!
 
This is very simple question and I am trying to find the solution for it since long. I had posted many post on this board but I haven't yet recieved a Answer from Sales Force technical team. I hope SF tech team goes through these post.
 
My question is how will you mass update SF data ?
 
there are two scenario
1. When upload the data through dataloader or any other tool it reaches the governance limit for trigger though the same trigger works fine for user interface save operation. How will you avoid error?
 
 
2. Can we run batch process  in SF which will update  200k or more records(Account) in Salesforce . If yes How will you set up the batch job ? How will you avoid governance limit? Please provode sample code if you can
 
Please provide the solution as it is very critical for any project.
 
I will appreciate any feedback .  SF tecnical team please response.
 
Thanks
 
 
mikefmikef
The short answer is yes salesforce can handle bulk operations.

Please review this post, it will get you thinking about how to handle bulk operations.

Please post your code and the community can help out with suggestions.