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:

  1. Open the Developer Console.

  2. Select Debug > Open Execute Anonymous Window.

  3. In the Enter Apex Code window enter:

    Copy
    new fAsync.AsyncReportingAbsenceSchedule().execute(null);
  4. Select Execute.

    The batch runs immediately and generates the data for year end vacation reporting.