Archive Process Contexts
Improve database query performance by archiving unneeded records for Playbooks that are in a Complete, Error, or Cancelled state.
Before you begin
Role required: admin
About this task
Depending on how many playbooks you've run, you may have hundreds or thousands of records in your database that aren't used anymore. Reduce the number of records that your database queries have to search through by archiving
the records for Playbooks that are in a Complete, Error, or Cancelled state. The following records are only required when a process execution is
in an active state:
- element mapping (
sys_element_mapping) - context log (
sys_pd_context_logs)
Note:
If you need a process execution's context logs or reports that use these records, do not archive the process contexts.
Archiving an execution's process contexts is similar to deleting the records, except the archive action transforms record data into JSON and combines it into a single record. This JSON record cannot be edited and currently
cannot be retrieved.
Note:
This action cannot be undone.
Flow context (sys_flow_context) records are also deleted automatically 2 (two) weeks after completion. For more information about flow data retention, see Flow execution details retention.
Procedure
- Navigate to .
- Select the check boxes next to the executions you want to archive contexts for.
- In the upper right-hand corner, select Archive Process Contexts.
- Confirm whether you want to archive the process contexts.