Skip to main content

Table of Contents

Configuring automatic cleanup of robotic automations, events or operator history records


Only available versions of this content are shown in the dropdown

Depending on your business needs, you can configure configure Pega Robot Manager to automatically clean up automations, events, or operator history records.

Ensure that you have an unlocked ruleset for saving rule instances.

The pyArchiveRoboticAutomations job scheduler (agent) automatically archives History-Data-Robot-Automations (database table: pr_data_robot_automation_audit) records that exceed a set limit (the default value is 10). By default, the job scheduler runs daily at 2:00 AM US Eastern Time.

The pyArchiveRoboticEvents job scheduler (agent) automatically archives History-Data-Robot-Events (database table: pr_data_robot_event_audit) records that exceed a set limit (the default value is 100). By default, the job scheduler runs daily at 2:00 AM US Eastern Time.

The pyPurgeRobotOperatorHistory job scheduler (agent) automatically purges History-Data-Admin-Operator-ID (database table: pr_data_robot_automation_audit) records that exceed a set limit. By default, the job scheduler runs daily at 2:00 AM US Eastern Time.

  • The default job schedulers run at system runtime context level, and can thus archive data at the entire system level and not only at the application level.
  • Override the job schedulers in your current application only if you want to change the schedule or update the number of records to preserve. Otherwise, use the default job schedulers.
  • Do not change the Associated with node types value for any job scheduler.
  1. In the navigation panel of Dev Studio, click Records.

  2. Expand the SysAdmin category, and then click Job Scheduler.

  3. Click the job scheduler record that you want to edit, for example pyArchiveRoboticAutomations.

  4. Click Save as and perform the following actions:

    1. Edit the label.

    2. Set the context for your specialized notification by selecting a development branch.

      Select an application that is built on Pega Robot Manager and the Pega-Robotic-AutomationPackageManagement ruleset.
    3. Click Create and open.

  5. Configure your job scheduler:

    Choices Actions
    Change the schedule
    1. In the Schedule list select the frequency for the job, and then set the related details.

    2. Set the start time and the time zone.

    Change the number of preserved records
    1. Click Parameters.

    2. Enter the new limit of most recent items to preserve. For best results, set number of records to preserve to a recommended value:

      • For the pyArchiveRoboticAutomations: between 10 and 999 records
      • For the pyArchiveRoboticEvents: between 100 and 999 records
      • For the pyPurgeRobotOperatorHistory: between 0 and 999 records
    3. Click Submit.

  6. Click Save.

  • Configuring Pega Robot Manager

    Pega Robot Manager allows you to manage your RPA robots; start, stop, terminate and schedule them. You can configure it to suit the needs of your organization. You can also create and view reports on robot health, exceptions and usage data.

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us