I have a batch class with some custom logic in execute method. I have millions of records for which batch class takes much time. I want to reduce batch processing time. Can anyone tell me, how can I do this using bulk api or any other method? It is pretty urgent because I am doing since one week. Appreciate if any one have example for the same
1 risposta
the batch API is for calls from an applicaiton outside of salesforce, coming into salesforce
So the use case would be to export your data to an external application, do your processing on the extranl application and than use the bulk API to udpate the results on your salesforce data