Here iam using Account object had the field of Last Modified By.how to write the Batch Apex can you please give me the example of above scenario.

1 Answer 1



QueryLocator query =>

Select Id, Name from Account Where LastModifiedBy.Name='John Smith' 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .