Showing posts with label Monitor and Abort a batch class in Salesforce. Show all posts
Showing posts with label Monitor and Abort a batch class in Salesforce. Show all posts

Sunday, October 10, 2021

How to Execute, Monitor and Abort a batch class in Salesforce

Lets understand how to execute, monitor and abort a batch


How to execute a Batch

Syntax:

<Class name> <object name> = new <class name> ();

Database.executebatch(object name, size of batch);

Mostly Viewed