You need to sign in to do that
Don't have an account?
jishan roy
Create a batch class to update contact field. If contact created date last 30 days then update contact text field as Hello.
Can you please provide the class to update the contact field to hello.
try with below code.
Run the batch class in developer console.
Id batchJobId = Database.executeBatch(new contactUpdate(), 200);
If this helps, Please mark it as best answer.
Thanks!!
All Answers
try with below code.
Run the batch class in developer console.
Id batchJobId = Database.executeBatch(new contactUpdate(), 200);
If this helps, Please mark it as best answer.
Thanks!!
Its working
Modify the query like below.
Thanks!!
now update field had not update hello.
Thanks!!