Operate Salesforce Archive (also called Trusted Services Archive) through its Connect API and the
ArchiveActivity
job-metadata object. This skill covers how to search and restore archived records, run the analyzer, handle RTBF erasure and PII masking, check storage, and — the part most often missed — how to read archive job status from
ArchiveActivity
and use a job's Id + Type to download its logs.
Scope
In scope
Calling the Archive Connect API operations under
/platform/data-resilience/archive/
; querying the
ArchiveActivity
object via SOQL/Connect; correlating a job's
ArchiveActivity
record with its log-download endpoints; the verify-after-write pattern for each async operation.
Out of scope
Defining archive policies /
ArchivePolicyDefinition
metadata; building UI; generating Flows over archive data (
ArchiveActivity
is
not
Flow-queryable — see Gotchas); generic backup/export tooling unrelated to the add-on.
Required Inputs
Gather or infer before acting:
Operation intent
search (this is also how you view archived records), unarchive, analyze, mask, RTBF, storage check, or job-status/log lookup.
Target sObject
(
sobjectName
): required for search and unarchive.
Filters
search and unarchive require
sobjectName
+ at least one filter.
For log downloads
the
requestId
(an
ArchiveActivity
Id,
8qv…
prefix) of a completed, log-producing job, and
reportType
= that activity's
Type
.
Show more
Installs
577
Repository
forcedotcom/sf-skills
GitHub Stars
658
First Seen
8 days ago
Security Audits
Gen Agent Trust Hub
Pass
Socket
Pass
Snyk
Pass