LinkedIn
Copied!

Table of Contents

Scheduling the case archival process

Version:

Only available versions of this content are shown in the dropdown

You can control when your application archives cases to improve application performance and avoid issues that might negatively impact the performance of Pega Platform.

Pega Platform cannot run a report on archived case data. Ensure that you ran all the reports required on a case hierarchy before initiating an archival and purge process.

For more information about reports, see Running a report.

  1. In the navigation pane of Dev Studio, select Records SysAdmin Job Scheduler

  2. Select the pyPegaArchiver Job Scheduler.

  3. Copy the job scheduler to a ruleset in your application. For more information, see Creating a specialized or circumstance rule.

  4. Define the run cycle for the archiving process.

    1. On the Definition tab, select an option from the Schedule list to indicate how often the archiving process runs.

    2. Provide additional parameters based on the schedule type that you choose.

      For example, you can run the job scheduler every 2 months on the first Wednesday of the month when your schedule type is Monthly.

  5. In the Start time field, enter a time in hours and minutes.

    As a best practice, choose a time when there is less demand for case workers.

  6. In the Time zone list, select an option based on the location of your application.

  7. Click Save.

  8. Repeat this procedure for the pyPegaPurger and pyPegaIndexer Job Schedulers.

    1. Optional:

      Repeat this procedure for the pyArchival_ReIndexer property when requiring to fix corrupted indexes after a pyPegaIndexer job.

    For more information about these standard job schedulers, review the fields in the Documentation section of the History tab on the Job Scheduler form.

    Have a question? Get answers now.

    Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.