service-itsm-swarming-configure
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEnable Swarming for Employee Service (ITSM)
为员工服务(ITSM)启用Swarming功能
Enable the Salesforce Go feature "Swarming" () — the feature that
helps service reps pull in the right collaborators and subject-matter experts to resolve
incidents in real time. Every operation dispatches through headless-360.
service-cloud-swarmingExecute one step at a time. These steps make real, state-changing API calls. Run a single operation, show its result, confirm it succeeded, then proceed — do not batch multiple setup calls into one parallel block.
启用Salesforce Go的**"Swarming"功能()——该功能可帮助服务专员引入合适的协作者和主题专家,实时解决事件。所有操作均通过headless-360**调度。
service-cloud-swarming请逐步执行操作。这些步骤会调用实际的状态变更API。仅运行单个操作,展示结果,确认成功后再继续——请勿将多个设置调用批量放入一个并行区块。
Scope
适用范围
- In scope: Enabling the Go feature via its feature-enablement Connect API; verifying feature state afterward; setting the "Select a Collaboration Tool" picklist (the API-level target of the "Set Teams as Collaboration Tool for Swarming" checklist item) to
service-cloud-swarmingvia the org-values Connect API.Teams - Out of scope: The base Microsoft Teams ITSM Salesforce Go page toggle () and Azure/Entra app registration — use
ITSMTeamsEnabled(Swarming requires Teams to already be set up as a prerequisite, per the Go page). Notification-channel preferences (service-itsm-teams-configure/Notifications) — a separate concern from this feature. Portal/site creation — useTeamsNotifications.experience-portal-create
- 包含范围:通过功能启用Connect API启用Go功能;之后验证功能状态;通过组织值Connect API将“选择协作工具”多选列表(“将Teams设为Swarming协作工具”检查项的API级目标)设置为
service-cloud-swarming。Teams - 排除范围:基础Microsoft Teams ITSM Salesforce Go页面开关()和Azure/Entra应用注册——请使用
ITSMTeamsEnabled(根据Go页面要求,Swarming需要先完成Teams设置作为前提条件)。通知渠道偏好(service-itsm-teams-configure/Notifications)——属于此功能之外的独立事项。门户/站点创建——请使用TeamsNotifications。experience-portal-create
The problem this skill solves
此技能解决的问题
"Set Teams as Collaboration Tool for Swarming" is one item in the "Set Up Salesforce IT Desk"
checklist on the Teams ITSM Go page ('s feature page) — but
it is gated behind a separate Go feature, , which must be turned on
first. This skill is the dedicated place to turn Swarming on, so
can delegate to it instead of duplicating feature-enablement logic.
service-cloud-itsm-teams-integrationservice-cloud-swarmingservice-itsm-teams-configure“将Teams设为Swarming协作工具”是Teams ITSM Go页面(的功能页面)上“设置Salesforce IT服务台”检查清单中的一项,但它受另一个Go功能的限制,必须先开启该功能才能操作。此技能是专门用于开启Swarming的入口,因此可委托给它,无需重复实现功能启用逻辑。
service-cloud-itsm-teams-integrationservice-cloud-swarmingservice-itsm-teams-configureWorkflow
工作流程
Step 1 — Check current feature status
步骤1 — 检查当前功能状态
text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/features/status",
body: { "featureApiNames": ["service-cloud-swarming"] }
)Response shape:
json
{
"items": [
{
"apiName": "service-cloud-swarming",
"status": "ENABLED", // or "NOT_ENABLED" / "DISABLED"
"blockedByApexLock": false,
"dependencyStatuses": [],
"enableBlockedReasons": [],
"disableBlockedReasons": []
}
]
}Note: this endpoint is POST-only despite being a status read — a with
returns .
GETqueryParams405 METHOD_NOT_ALLOWED "Allowed are POST"If is already , skip to Step 3 (verification) — do not re-enable.
If is non-empty, surface those reasons to the user before attempting Step 2.
status"ENABLED"enableBlockedReasonstext
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/features/status",
body: { "featureApiNames": ["service-cloud-swarming"] }
)响应格式:
json
{
"items": [
{
"apiName": "service-cloud-swarming",
"status": "ENABLED", // 或 "NOT_ENABLED" / "DISABLED"
"blockedByApexLock": false,
"dependencyStatuses": [],
"enableBlockedReasons": [],
"disableBlockedReasons": []
}
]
}注意:尽管此端点用于读取状态,但仅支持POST请求——使用并携带会返回。
GETqueryParams405 METHOD_NOT_ALLOWED "Allowed are POST"如果已为,跳至步骤3(验证)——无需重新启用。如果不为空,请在尝试步骤2前向用户展示这些原因。
status"ENABLED"enableBlockedReasonsStep 2 — Enable the feature
步骤2 — 启用功能
text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/enable",
body: {}
)Verified live: returns cleanly (unlike the Teams feature-enable, this call
did not exhibit the "500 that still succeeds" gotcha in testing — but re-check status afterward
regardless, since Go feature-enable calls can be flaky in general).
201 {"success":true}text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/enable",
body: {}
)已验证:调用会干净地返回(与Teams功能启用不同,测试中此调用未出现“返回500但实际成功”的问题——但无论如何,之后都要重新检查状态,因为Go功能启用调用通常可能不稳定)。
201 {"success":true}Step 3 — Verify
步骤3 — 验证
text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/features/status",
body: { "featureApiNames": ["service-cloud-swarming"] }
)Expect .
status: "ENABLED"text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/features/status",
body: { "featureApiNames": ["service-cloud-swarming"] }
)预期返回。
status: "ENABLED"Step 4 — Check current collaboration tool value
步骤4 — 检查当前协作工具值
text
mcp__headless-360__dispatch_readonly(
method: "GET",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL"
)Response shape — exactly one of the four value fields is populated:
json
{ "booleanValue": false, "dateValue": null, "numberValue": null, "stringValue": "None" }stringValue"None""Slack""Teams"setup-connect-apiget-org-valueupdate-org-valueverify-org-value-updatevalueNameSWARM_COLLABORATION_TOOLSwarmCollaborationToolIf already , skip to Step 6 (report) — do not re-issue the write.
"Teams"text
mcp__headless-360__dispatch_readonly(
method: "GET",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL"
)响应格式——四个值字段中只有一个会被填充:
json
{ "booleanValue": false, "dateValue": null, "numberValue": null, "stringValue": "None" }stringValue"None""Slack""Teams"setup-connect-apiget-org-valueupdate-org-valueverify-org-value-updatevalueNameSWARM_COLLABORATION_TOOLSwarmCollaborationTool如果已为,跳至步骤6(报告)——无需重新发起写入请求。
"Teams"Step 5 — Set the collaboration tool to Teams
步骤5 — 将协作工具设置为Teams
text
mcp__headless-360__dispatch(
method: "PATCH",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
body: { "orgValue": "Teams" }
)Verified live: returns . This is the API-level write behind
the Swarming Go feature page's "Select a Collaboration Tool" dropdown — the same control the
Teams ITSM Go page's "Set Teams as Collaboration Tool for Swarming" checklist item deep-links to
via its "Go to Feature Page" button. Valid strings are , , .
200 { "stringValue": "Teams", ... }orgValue"None""Slack""Teams"Re-run Step 4's GET afterward to confirm .
stringValue == "Teams"text
mcp__headless-360__dispatch(
method: "PATCH",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
body: { "orgValue": "Teams" }
)已验证:调用返回。这是Swarming Go功能页面“选择协作工具”下拉菜单背后的API级写入操作——Teams ITSM Go页面的“将Teams设为Swarming协作工具”检查项通过“前往功能页面”按钮深度链接到该控件。有效的字符串为、、。
200 { "stringValue": "Teams", ... }orgValue"None""Slack""Teams"之后重新运行步骤4的GET请求,确认。
stringValue == "Teams"Step 6 — Report to the user
步骤6 — 向用户报告
Report both the feature status and the
value, confirming "Set Teams as Collaboration Tool for Swarming" is now fully automated —
enabling the feature is the prerequisite, and the org-value PATCH is the actual checklist-item
write.
service-cloud-swarmingSWARM_COLLABORATION_TOOL报告功能状态和值,确认“将Teams设为Swarming协作工具”已完全自动化——启用功能是前提条件,组织值PATCH操作是实际的检查项写入操作。
service-cloud-swarmingSWARM_COLLABORATION_TOOLDisabling (if requested)
禁用功能(如有请求)
text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/disable",
body: {}
)Re-run Step 1 afterward to confirm.
To also reset the collaboration tool selection (optional — disabling the feature does not reset
it automatically):
text
mcp__headless-360__dispatch(
method: "PATCH",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
body: { "orgValue": "None" }
)text
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/disable",
body: {}
)之后重新运行步骤1确认状态。
如需同时重置协作工具选项(可选——禁用功能不会自动重置该选项):
text
mcp__headless-360__dispatch(
method: "PATCH",
url: "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
body: { "orgValue": "None" }
)Gotchas
注意事项
| Issue | Detail |
|---|---|
"Set Teams as Collaboration Tool for Swarming" writes via | This checklist item lives on the Swarming Go feature page itself ( |
| The |
| A |
| headless-360's |
| Swarming requires Teams first | The Go page frames "Set Teams as Collaboration Tool for Swarming" as a step within Teams ITSM setup — enable |
| Version prefix required | headless-360 |
| 问题 | 详情 |
|---|---|
“将Teams设为Swarming协作工具”通过 | 此检查项位于Swarming Go功能页面本身( |
| |
| 在 |
| headless-360的 |
| Swarming需要先完成Teams设置 | Go页面将“将Teams设为Swarming协作工具”列为Teams ITSM设置中的一步——请在使用此技能之前或同时通过 |
| 需要版本前缀 | headless-360的 |
Related Skills
相关技能
| Skill | When to use instead / alongside |
|---|---|
| Enabling the base Microsoft Teams ITSM integration and Azure/Entra setup — a prerequisite for Swarming; delegates to this skill for the "Set Teams as Collaboration Tool for Swarming" checklist item |
| Notification-channel preferences | Enabling the |
| Top-level menu across Teams, Slack, Swarming, Notifications, Portal |
| 技能 | 替代/配合使用场景 |
|---|---|
| 启用基础Microsoft Teams ITSM集成和Azure/Entra设置——这是Swarming的前提条件;针对“将Teams设为Swarming协作工具”检查项会委托给此技能 |
| 通知渠道偏好 | 启用 |
| 涵盖Teams、Slack、Swarming、通知、门户的顶级菜单 |