Running a batch immediately
If you need to run a batch to produce or update reporting data immediately—during initial set up and testing, or after adding or correcting Team Member data for example—you can follow these steps:
-
Open the Developer Console.
-
Select Debug > Open Execute Anonymous Window.
-
In the Enter Apex Code window enter:
Copynew fAsync.AsyncReportingAbsenceSchedule().execute(null);
-
Select Execute.
The batch runs immediately and generates the data for year end vacation reporting.