Skip to content

Instantly share code, notes, and snippets.

@bdovhan bdovhan/b.apxc

Created Aug 6, 2019
What would you like to do?
Dummy Batchable Apex Class B
public class b implements Database.Batchable<SObject>,Database.AllowsCallouts{
public Database.QueryLocator start(Database.BatchableContext bc) {
return Database.getQueryLocator('SELECT id FROM user WHERE IsActive=true limit 1');
public void execute(Database.BatchableContext bc, List<User> users) {
new Http().send(new HttpRequest());
public void finish(Database.BatchableContext bc) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.