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
adi salesforceadi salesforce 

How to create batch apex with takes the query using construtor and update all the description field as batch update

johnseelewis42johnseelewis42
Adi,

Here is some information on how to create a batch class in apex:

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

Update the description field in the execute method.