Convert an APEX Trigger into a Scheduled Batch Update
PROBLEM STATEMENT Goal is to use a Batch Class as scheduled job as well. SOLUTION Then, add a Schedulable execute method that executes the Batch The anonymous apex will start a schedulable job with the desired cron expression. When the job starts, its execute(SchedulableContext sc) method is called that then starts the batch job Finally, …
Convert an APEX Trigger into a Scheduled Batch Update Read More »