Asynchronous Apex (Batch) Project

  • Project Asynchronous Apex (Batch) Project
  • Client Joshua Grills
  • Country Australia
  • Date 23 October 2022

The Business scenario here was to create a business logic to automate the transfer and update of more than 2k account records of an employee leaving the organization to a new employee joining the organization and notifying the new employee via email about the new records updated to him.
I used Batch Apex which is an Asynchronous Apex type to solve this requirement by implementing Database.Batchable class and Database.Stateful class to count the total number of records processed.

×

 

Hello!

Click on my picture below to chat on WhatsApp

× Chat With Me