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.
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. |
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.SuccessandSkipped 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. - Undo an Archive Operation
Salesforce admins can undo any completed operation and restore records in the Archive managed package. - Abort an Archive Operation
Abort a running activity in the Archive managed package. This process is identical for Unarchive and Export activities.
Filter the Activities List View
Filter the fields in the Activities table for a specific view in the Archive managed package.
- Click Show Filters.
- Click Add Filter.
- Select a Field.
- Select an Operator.
- Enter a value. Or if you selected the field type Action Type, select a value from the dropdown menu.
- Click Done.
-
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.
- In the Activities log, click the gear icon to view the List View Controls.
- Select Select Fields to Display .
-
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.
- Click Save .
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.
- Go to the Activities tab.
- From the dropdown list, select All Logs.
- Locate the operation you want to undo.
- From the dropdown list, select Edit.
- 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.
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.
|
- Go to the Activities tab.
-
Select the activity with a
Startedstatus that you want to abort. - Click the Activity name and select Edit.
- Click Abort.
-
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.
-
Click Abort.
A success message is displayed.
-
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 If Abort is clicked quickly, Status can change fromStartedtoAborted, skippingAbortingaltogether.These fields can be seen as display fields in the activities log.
- Abort Reason
- Triggered By
- Triggered On
-
From the Execution Details column, download the CSV file.
This file provides information on what records were processed before the Abort action was triggered.
-
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.