+ Start a Discussion
ManidManid 

Confusion regarding the batch apex

i have some confusion working with batch apex. We use batch apex working with larger set of data. give me one example of it and why its methods and implementing class is global?
Davy HuijgensDavy Huijgens
What is your problem? Examples of batch apex can be found in the documentation, check out the following link.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm

 
jigarshahjigarshah
Manid,

Appreciate if you ask specific questions associated with your issue rather than open ended generic description. Refer to the Apex Developer Guide here to understand how Batch Apex (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm)can be implemented. It also has sample code on how Batch Jobs can be implemented.