Creating a Batch Job for Rebuilding Asset Calendar Index

The asset calendar becomes available from Civic Platform 7.3 FP1. For the calendar to display asset events that occurred before you upgrades Civic Platform to 7.3 FP1, you must build indexes for asset events on the index server.


Note:

The index server can automatically update the index with all the asset events that occur after Civic Platform upgrades to 7.3 FP1.


Before you create a batch job for rebuilding asset calendar index, you must configure the Standard Choice ASSET_CALENDAR_BUILD_INDEX_DURATION. This Standard Choice defines the start date and end date of a duration. The batch job only builds indexes for the asset events whose event time (for example, event schedule time) falls in the duration. For more information about the Standard Choice, refer to the Accela Civic Platform Configuration Reference.

To create a batch job for rebuilding asset calendar index

  1. Access the Batch Jobs portlet (Accessing the Batch Jobs Portlet).

  2. Click New.

    Civic Platform displays the New Batch Job portlet.

  3. Complete the following required fields:

    Name Enter an intuitive name for the batch job.
    Description Enter a description about the batch job.
    Email Enter the email address where you want Civic Platform to send emails after job completion, no matter whether the job is successful or not.
    Job Server Select the server for running the batch job.
    Job Type Select System from this drop‑down menu.
    Service Category Select Asset Calendar Rebuild Index from this drop‑down menu.
  4. Click Submit.

    Civic Platform creates the batch job and then displays the Batch Job Detail portlet.

  5. Specify the job schedule to run the batch job by completing the following steps:

    1. Click the Job Schedule tab.

    2. Define the batch job schedule. Complete the fields as described in Table 1.

      Best practice is to set the Frequency to Once.

    3. Click Save.