Loading...
Loading...
Compare original and translation side by side
ArchiveActivityArchiveActivityArchiveActivityArchiveActivity/platform/data-resilience/archive/ArchiveActivityArchiveActivityArchivePolicyDefinitionArchiveActivity/platform/data-resilience/archive/ArchiveActivityArchiveActivityArchivePolicyDefinitionArchiveActivitysobjectNamesobjectNamerequestIdArchiveActivity8qv…reportTypeTypeTrustedServicesArchiveTrustedServicesArchiveBtsobjectNamesobjectNamerequestIdArchiveActivity8qv…reportTypeTypeTrustedServicesArchiveTrustedServicesArchiveBthasTrustedServicesArchiveOrgPermissions.TrustedServicesArchive || TrustedServicesArchiveBt| Operation | User permission required |
|---|---|
| |
| |
| |
| |
| |
| |
| |
Source of truth: the Connect API resource classes in→trusted-services-archive-connect-implguards →TrustedServicesArchiveSdkImpl. NoteTrustedServicesArchive.accessChecks.xmlroutes throughsearch-archived-records(gated byperformArchiverGlobalSearch=canRunArchiveSearch); the separate Apex-SDKViewSearchPagemethod is gated bysearchArchivedRecords(), but the Connect API search endpoint does not use it.ViewArchivedRecords
hasTrustedServicesArchiveOrgPermissions.TrustedServicesArchive || TrustedServicesArchiveBt| 操作 | 所需用户权限 |
|---|---|
| |
| |
| |
| |
| |
| |
| |
权威来源:中的Connect API资源类 →trusted-services-archive-connect-impl守卫 →TrustedServicesArchiveSdkImpl。注意TrustedServicesArchive.accessChecks.xml通过search-archived-records路由(受performArchiverGlobalSearch=canRunArchiveSearch限制);独立的Apex-SDKViewSearchPage方法受searchArchivedRecords()限制,但Connect API搜索端点不使用该方法。ViewArchivedRecords
references/connect-api-operations.mddateRangesisSuccessurl: nullreferences/archive-activity-entity.mdArchiveActivityArchiveActivityexamples/monitor-failed-jobs.mdsobjectNamedateRanges{field, from, to}body.statusCodebody.isSuccessreferences/connect-api-operations.mdreferences/connect-api-operations.mddateRangesisSuccessurl: nullreferences/archive-activity-entity.mdArchiveActivityArchiveActivityexamples/monitor-failed-jobs.mdsobjectNamedateRanges{field, from, to}body.statusCodebody.isSuccessreferences/connect-api-operations.md| After this write | Confirm by |
|---|---|
| Poll |
| Re-run |
| Poll |
| Poll |
| 执行写入操作后 | 验证方式 |
|---|---|
| 轮询 |
| 重新运行 |
| 使用返回的 |
| 使用返回的 |
| Constraint | Rationale |
|---|---|
Search & unarchive require | The controller rejects an unfiltered request with "Search must be based on at least 1 field" — a full-object operation is never allowed. |
Date filters must be full ISO-8601 datetimes ( | A date-only value ( |
Search uses | They are genuinely different fields on the two endpoints; using the wrong shape silently drops the filter or 400s. |
Stop pagination when | Calling |
Log downloads need a real | The backend resolves the log by the activity record; a mismatched |
| Never use the deprecated lookups | |
| Excluded objects are not retrievable | |
Query | |
| 约束 | 原因 |
|---|---|
搜索与恢复归档需要 | 控制器会拒绝未过滤的请求,提示“搜索必须基于至少一个字段”——绝不允许全对象操作。 |
日期筛选必须使用完整ISO-8601日期时间( | 仅日期值( |
搜索使用 | 这两个端点确实使用不同的字段;使用错误格式会导致筛选条件被静默忽略或返回400错误。 |
当 | 使用 |
日志下载需要真实的 | 后端通过活动记录解析日志; |
| 切勿使用已弃用的查询方式 | |
| 排除对象不可检索 | |
通过SOQL/Connect查询 | |
| Issue | Resolution |
|---|---|
| Treating HTTP 201 as success | Several operations return 201 with a body-level outcome. Branch on |
| It is always |
| |
Log | |
Misreading | |
Expecting | It is not Flow-enabled ( |
| Hitting unarchive caps | Unarchive processes ≤1000 matched records per request and ≤50 requests/hour/org, and restores the whole archived hierarchy of each match. |
| RTBF/masking caps | |
| 问题 | 解决方案 |
|---|---|
| 将HTTP 201视为成功 | 多个操作返回201状态码但带有体级结果。请根据 |
使用 | 该值始终为 |
| |
因状态码为201而认为日志 | |
误读 | |
期望在Flow中使用 | 它不支持Flow( |
| 达到恢复归档上限 | 恢复归档操作每个请求最多处理1000条匹配记录,每个组织每小时最多50个请求,且会恢复每个匹配记录的整个归档层级。 |
| RTBF/掩码上限 | |
ArchiveActivityArchiveActivity| File | When to read |
|---|---|
| Before constructing any Archive Connect API call — full per-operation contracts, success signals, and limits |
| For any job-status / failure / progress / log task — |
| To follow an end-to-end monitoring flow: find failed/in-progress jobs, then download their logs |
| 文件 | 阅读时机 |
|---|---|
| 构建任何Archive Connect API调用前——包含各操作的完整契约、成功信号和限制 |
| 处理任何任务状态/失败/进度/日志任务时—— |
| 遵循端到端监控流程时:查找失败/进行中的任务,然后下载其日志 |