Archive Managed Package Activities Tab

View your archive and purge action history from the Activities tab in the Archive managed package. Download logs and reports for the different activities generated, initiate actions, and set up your own customized view.

Note
Note This content relates to Archive. For Salesforce Archive, see Store Data Externally with Salesforce Archive.
Note
Note Up to Archive Package 20.25, any new activities generate a new record.

To open the Activities table in the default list view of logs, go to the Activities tab.

Default Fields

Activity Description
Activity Name Link to activity details, including the Request ID to be used in reporting a support ticket.
Archive Policy

Link to the Archive policy of this activity log. To access the Archive policy details, click the policy name.

This link appears when an activity is initiated via an Archive policy.

sObjectName Root object as defined by the policy.

Activity Status Fields

Status Description
Aborted The policy was aborted in the middle of a policy run.
Aborting Start of the Aborted process.
Disabled By User The policy was deactivated in the middle of a policy run.
Discarded All records from this import activity were moved to the Recycle Bin.
Ended The activity completed successfully.
Ended With Errors The activity completed successfully but with errors.
Failed No records archived.
No Records No records archived.
Process Exceeds 23h The activity started and ran successfully until it reached a time limit. When a policy is set to run daily, this status shows a process has exceeded the time limit.
Process Exceeds 120h The activity started and ran successfully until it reached a time limit. When a policy is set to run more than one time per day within a five-day period, this status indicates partial success before exceeding the time limit.
Process Exceeds 168h The activity started and ran successfully until it reached a time limit. When a policy is set to run for more than a seven-day period, this status indicates partial success before exceeding the time limit.
Query Timeout The activity started and ran successfully until it reached a time limit. The timeout period elapsed before the operation was completed, or when the server wasn't responding.
Started An activity started.
Too Many Failures Too many failures are detected in read or delete, and the archiving process is abandoned to save API calls.
Note
Note On the Action Type in your CSV file, the results include Archive, Purge, Retention, and Unarchive Period Expiration.

The statuses available are:

  • Ended With Errors: A partially completed Archive job. You can view the execution details and download a CSV file of the failed records.
  • Failure: Any records that fail appear in a separate CSV file.
  • Success and Skipped Records: All successful records and records that weren't archived due to the Salesforce Data Protection Period, or were recently unarchived, appear in one CSV file.

Other Fields

Name Description
Attempted Root Records Primary records, total skipped root records, and records failed to change.
Execution Details A link to a report of all records that the activity attempted to process, whether the execution fails or succeeds.
Failed Records A link to a report of only records that failed to be processed. Review the report to identify specific records and take remediation steps.
Primary Records Number of root records archived.
Records Failed Number of records that weren't processed.
Total Records Attempted Total number of records attempted.
Total Skipped Root Records

Total number of root records that were intentionally skipped.

For example, data that is protected from being archived using the Salesforce Data Protection Period setting.

Action Types

Action Description
Analyzer Audit of analyses run.
Discard-staged-import Audit of staged data deletion.
Archive Audit of every archive policy run.
Export Audit of export Archive Search results.
Export and Download Audit of export Archive Search results downloaded into a CSV file.
Import-data-archive* Audit of data imported to Archive.
Import-data-load* Audit of data imported to the secure staging area.
Purge Audit of purge policies run.
Purge by Retention Audit of retention policies run.
Right To Be Forgotten (RTBF)

Not applicable in Archive package.

RTBF action is only reported in Archive Console.

Unarchive Audit of every unarchive policy run.
Unarchive SDK Audit of data programmatically removed via the SDK.

Filter the Activities List View

Filter the fields in the Activities table for a specific view in the Archive managed package.

  1. Click Show Filters.
  2. Click Add Filter.
  3. Select a Field.
  4. Select an Operator.
  5. Enter a value. Or if you selected the field type Action Type, select a value from the dropdown menu.
  6. Click Done.
  7. Click Save.

    A success message appears.

Display and Remove Fields in the Archive Activities Log

Choose the fields you want displayed in the Activities Log.

  1. In the Activities log, click the gear icon to view the List View Controls.
  2. Select Select Fields to Display .
  3. Add the fields you want displayed.

    These default fields are displayed in the Activities Log.

    • Attempted root records: Primary records, total skipped root records, and records failed to change.
    • Primary records: Number of root records archived.
    • Records that failed to change: Number of root records that failed to archive.
    • Total attempted records: Total number of records attempted.
    • Total skipped root records: Total number of root records that were intentionally skipped.

      For example, data that is protected from being archived using the Salesforce Data Protection Period setting.

  4. Click Save .

Remove Activities List View Filter

To remove filters in the Activities table, click the X in the corner of the filter, or select Remove All.

Undo an Archive Operation

Salesforce admins can undo any completed operation and restore records in the Archive managed package.

Users require the Archive Enable Unarchive permission set.

  1. Go to the Activities tab.
  2. From the dropdown list, select All Logs.
  3. Locate the operation you want to undo.
  4. From the dropdown list, select Edit.
  5. To restore archived records from the log back into Salesforce, click Undo.

Abort an Archive Operation

Abort a running activity in the Archive managed package. This process is identical for Unarchive and Export activities.

Note
Note This content relates to Archive. For Salesforce Archive, see Store Data Externally with Salesforce Archive.

Common use cases for aborting a running activity include:

  • The job is taking too long to complete.
  • You ran the activity by mistake.
Archive Abort Permission Sets
Archive Abort Archive Activity Permission to abort running archive activity with Started status.
Archive Abort Export Activity Permission to abort running export activity with Started status.
Archive Abort Unarchive Activity Permission to abort running unarchive activity with Started status.
  1. Go to the Activities tab.
  2. Select the activity with a Started status that you want to abort.
  3. Click the Activity name and select Edit.
  4. Click Abort.
  5. In the window, select a reason for aborting the operation from the dropdown list.
    This step is mandatory. The reason selected appears in the downloaded CSV file.
  6. Click Abort.

    A success message is displayed.

  7. Go to the Activities tab and view the Status column. Valid values for Status are:
    Aborted—Abort operation has completed, or operation hasn't started yet.
    Aborting—Abort operation is in progress. The process can take up to 90 minutes. During this period, any ongoing bulk record processing is canceled, and the details of the abort process are logged in the CSV file.
    Note
    Note If Abort is clicked quickly, Status can change from Started to Aborted, skipping Aborting altogether.

    These fields can be seen as display fields in the activities log.

    • Abort Reason
    • Triggered By
    • Triggered On
  8. From the Execution Details column, download the CSV file.
    This file provides information on what records were processed before the Abort action was triggered.
  9. From the Failed Records column, download the CSV file.
    This file provides information on records that failed to be processed before the Abort action was triggered.