service-omni-agent-work-sharing-configure
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseservice-omni-agent-work-sharing-configure
service-omni-agent-work-sharing-configure
Detect and optionally configure the standard object's internal organization-wide default. The supported headless contract is metadata: retrieve the current metadata, preserve , deploy internal , and retrieve it again for proof.
AgentWorkCustomObject:AgentWorkexternalSharingModelsharingModel=ReadThis setting grants read visibility broadly to internal users who already have object access. It is not a substitute for an : that configuration filters which reps, queues, skills, actions, and tabs a supervisor sees, but does not grant record access.
OmniSupervisorConfig检测并可选配置标准对象的内部组织级默认(OWD)设置。支持的无界面契约为元数据:检索当前元数据,保留,部署内部,并再次检索以验证配置结果。
AgentWorkCustomObject:AgentWorkexternalSharingModelsharingModel=Read此设置会向已拥有对象访问权限的内部用户广泛授予读取可见性。它不能替代:该配置用于筛选主管能看到的客服代表、队列、技能、操作和标签,但不授予记录访问权限。
OmniSupervisorConfigInputs
输入参数
bash
bash scripts/configure-and-report.sh <org-alias> --plan
bash scripts/configure-and-report.sh <org-alias> --confirm-org-wide-visibility- is required and must already be authenticated with
org-alias.sf - retrieves and reports the current and desired models without deploying.
--plan - is required only when a run must change
--confirm-org-wide-visibilitytoPrivate. Omitting it blocks before deployment.Read
bash
bash scripts/configure-and-report.sh <org-alias> --plan
bash scripts/configure-and-report.sh <org-alias> --confirm-org-wide-visibility- 为必填项,且必须已通过
org-alias完成身份验证。sf - 用于检索并报告当前和预期的共享模型,不会执行部署操作。
--plan - 仅在需要将共享模型从
--confirm-org-wide-visibility更改为Private时必填。省略该参数会阻止部署操作。Read
Safety contract
安全契约
- A run refuses production customer orgs. Plan mode remains read-only.
- is preserved exactly.
externalSharingModel - and
Readalready provide internal read visibility and are reused. The skill never narrowsReadWritetoReadWrite.Read - The only supported mutation is to
Private; the skill never grants internal edit access.Read - Failed classification, retrieve, deploy, or read-back blocks. It never reports success from an inconclusive response.
- Use a dedicated sandbox or test org because changing an OWD can initiate sharing recalculation.
- 拒绝在生产客户组织中执行该操作。计划模式始终为只读。
- 完全保留的原有设置。
externalSharingModel - 若当前共享模型为或
Read,已提供内部读取可见性,将直接复用该设置。本技能绝不会将ReadWrite降级为ReadWrite。Read - 仅支持将共享模型从更改为
Private;本技能绝不会授予内部编辑权限。Read - 若分类、检索、部署或回读操作失败,将阻止后续流程。绝不会从不明确的响应中报告操作成功。
- 请使用专用沙箱或测试组织,因为更改OWD会触发共享规则重新计算。
Workflow
工作流程
- Classify the target org and enforce the production-write guard.
- Retrieve through Metadata API.
CustomObject:AgentWork - Read internal and external sharing models.
- Reuse or
Readwith no deploy.ReadWrite - In plan mode, report the proposed to
Privatechange and exit yellow.Read - In run mode, require explicit blast-radius confirmation.
- Deploy only the standard-object metadata containing preserved external sharing and internal .
Read - Retrieve again and require internal plus the unchanged external model.
Read
- 对目标组织进行分类,并强制执行生产环境写入防护。
- 通过Metadata API检索元数据。
CustomObject:AgentWork - 读取内部和外部共享模型。
- 若当前为或
Read,直接复用设置,无需部署。ReadWrite - 在计划模式下,报告拟将更改为
Private的变更,并以黄色状态退出。Read - 在运行模式下,需要明确的影响范围确认。
- 仅部署包含保留的外部共享设置和内部设置的标准对象元数据。
Read - 再次检索元数据,要求内部共享模型为且外部模型保持不变。
Read
Output
输出结果
A single JSON object containing , , , , , , , and .
statusprevious_sharing_modelsharing_modelexternal_sharing_modelchangeddry_rundeploy_idblocking_issue- : a confirmed
configuredtoPrivatedeployment succeeded and read-back matched.Read - : current
reusedorReadalready provides visibility.ReadWrite - : plan mode found
action_needed; no write occurred.Private - : a safety guard or supported-API verification failed.
blocked
包含以下字段的单个JSON对象:、、、、、、和。
statusprevious_sharing_modelsharing_modelexternal_sharing_modelchangeddry_rundeploy_idblocking_issue- :已确认将
configured更改为Private的部署成功,且回读结果匹配。Read - :当前
reused或Read设置已提供可见性,直接复用。ReadWrite - :计划模式下检测到当前为
action_needed,未执行写入操作。Private - :安全防护或API验证失败,流程被阻止。
blocked
Limitations
局限性
- This skill changes visibility, not supervisor scope. Use the supervisor configuration skill for filtering.
- It does not create sharing rules or per-record rows.
AgentWorkShare - It cannot prove a particular supervisor's complete UI access; validate the end-to-end Command Center journey with the intended supervisor user after configuration.
- 本技能仅更改可见性,不修改主管的权限范围。如需筛选,请使用主管配置技能。
- 不会创建共享规则或单条记录的行。
AgentWorkShare - 无法证明特定主管拥有完整的UI访问权限;配置完成后,请使用目标主管用户验证端到端的Command Center流程。
References
参考资料
| File | When to read |
|---|---|
| Before approving the org-wide change or diagnosing a retrieve/deploy failure |
| 文件 | 阅读时机 |
|---|---|
| 在批准全组织变更或诊断检索/部署失败之前 |