Repository

Archive Job Data

Overview

This pre-built allows IAP users to archive the jobs and tasks collections to keep IAP performant. It also allows the users to restore the archived jobs and tasks. Users have the ability to choose:

  1. The number of days older than which, all qualifying data will be archived.
  2. Custom names for the archive collections to store the matching jobs and tasks documents.
  3. To keep or delete the matching documents from the original jobs and tasks collections after backing them up.
  4. Restore the archived jobs and tasks documents and delete the archived collections.

Users can use the included Operations Manager item to schedule the pre-built to run at regular intervals.

Notes:

  1. For every run, new jobs and tasks collections would be created with the current timestamps appended to the end of the jobs and tasks collection names put in by the user.
  2. Only jobs and tasks related to jobs that are either in complete or canceled state will be considered for archiving. Jobs that are in errored or incomplete state will be left untouched.
  3. Getting an RangeError [ERR_OUT_OF_RANGE] typically indicates that your bundle size is too large. Try setting it lower within Operations Manager automation.
  4. Very large databases with a lot of jobs and tasks to archive will typically result in multiple archive collections within the database.

How to Install

To install the Workflow Project:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Supported IAP Versions section in order to install the Workflow Project.
  • Import the Workflow Project in Admin Essentials.