@salesforce/afv-skills 1.67.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -5
- package/package.json +1 -1
- package/skills/afcc-setup-coordinate/SKILL.md +348 -0
- package/skills/afcc-setup-coordinate/assets/console-app/AFCC_Service_Console.app-meta.xml +19 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Admin.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Standard.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/gap_report_template.md +35 -0
- package/skills/afcc-setup-coordinate/assets/org_profile_template.json +16 -0
- package/skills/afcc-setup-coordinate/references/gotchas.md +22 -0
- package/skills/afcc-setup-coordinate/scripts/audit_org.sh +159 -0
- package/skills/agentforce-bot-upgrade/SKILL.md +117 -66
- package/skills/agentforce-bot-upgrade/assets/_vendored/agent-spec-template.md +139 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-design-and-spec-creation.md +1211 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-script-core-language.md +1390 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-subagent-map-diagrams.md +341 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-user-setup.md +672 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-validation-and-debugging.md +904 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agentscript-toolchain.md +112 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/architecture-patterns.md +277 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/common-control-flow-pitfalls.md +255 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-actions-sequencing.md +198 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-lifecycle-side-effects.md +87 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/data-library-reference.md +891 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/instruction-resolution.md +658 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/org-setup-for-adl.md +551 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/patterns-by-requirement.md +88 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/posture-and-determinism.md +215 -0
- package/skills/agentforce-bot-upgrade/references/extraction-blueprint.md +11 -4
- package/skills/agentforce-bot-upgrade/references/generate-agent-spec.md +19 -3
- package/skills/agentforce-bot-upgrade/references/handoff-output-format.md +82 -52
- package/skills/agentforce-bot-upgrade/references/input-contract.md +8 -8
- package/skills/agentforce-bot-upgrade/references/mapping-rules.md +19 -6
- package/skills/agentforce-bot-upgrade/references/post-conversion-enhancements-reference.md +65 -6
- package/skills/agentforce-bot-upgrade/references/quality-checklist.md +4 -4
- package/skills/agentforce-bot-upgrade/references/sf-cli-bot-reference.md +17 -3
- package/skills/agentforce-hyperclassifier-configure/README.md +24 -0
- package/skills/agentforce-hyperclassifier-configure/SKILL.md +111 -0
- package/skills/agentforce-hyperclassifier-configure/assets/customer-org.env.example +4 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_descriptions.json +8 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_evals.csv +17 -0
- package/skills/agentforce-hyperclassifier-configure/references/api-contract.md +41 -0
- package/skills/agentforce-hyperclassifier-configure/references/authentication.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/evaluation.md +46 -0
- package/skills/agentforce-hyperclassifier-configure/references/installation.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/onboarding.md +93 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/__init__.py +1 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/client.py +219 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/eca.py +178 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/evaluation.py +207 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/onboarding.py +191 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/optimizer.py +187 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hyperclassifier.py +111 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/report_hyperclassifier.py +149 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/setup_hyperclassifier.py +74 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/tests/test_hyperclassifier_skill.py +887 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +14 -22
- package/skills/agentforce-offline-experimentation-run/scripts/bt_compare.py +81 -0
- package/skills/agentforce-offline-experimentation-run/scripts/bt_fetch.py +358 -0
- package/skills/agentforce-offline-experimentation-run/scripts/bt_patch_agent.py +110 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/__init__.py +34 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentpatch.py +483 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentsrc.py +565 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/cache.py +95 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/compare.py +617 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/fetch.py +1012 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/judge.py +140 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/messages.py +93 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/patch.py +327 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/redact.py +40 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/results.py +288 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/scoring.py +340 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/sfap.py +354 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/splits.py +136 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/stdm.py +98 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/tokens.py +173 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/units.py +199 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/versions.py +194 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +367 -379
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +23 -6
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +483 -796
- package/skills/commerce-react-storefront-create/SKILL.md +54 -21
- package/skills/dx-lifecycle-center/SKILL.md +22 -13
- package/skills/dx-lifecycle-center/examples/workflows.md +54 -17
- package/skills/dx-lifecycle-center/references/connect-api.md +33 -4
- package/skills/dx-lifecycle-center/references/connect-org.md +62 -12
- package/skills/dx-lifecycle-center/references/deploy.md +3 -3
- package/skills/dx-lifecycle-center/references/hub-org.md +19 -3
- package/skills/dx-lifecycle-center/references/list-orgs.md +50 -24
- package/skills/dx-lifecycle-center/references/troubleshooting.md +22 -1
- package/skills/dx-lifecycle-center/scripts/hub-get.sh +41 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +151 -4
- package/skills/dx-org-devhub-configure/SKILL.md +85 -84
- package/skills/dx-org-devhub-configure/examples/status-output.md +25 -2
- package/skills/dx-org-devhub-configure/scripts/devhub.sh +265 -140
- package/skills/dx-org-devhub-configure/scripts/test-devhub.sh +100 -15
- package/skills/dx-packaging-convert-1gp-to-2gp-create/SKILL.md +63 -0
- package/skills/dx-packaging-convert-1gp-to-2gp-create/references/conversion-operations.md +252 -0
- package/skills/dx-packaging-move-to-2gp-migrate/SKILL.md +88 -0
- package/skills/dx-packaging-move-to-2gp-migrate/references/api-operations.md +167 -0
- package/skills/dx-packaging-push-upgrade-configure/README.md +47 -0
- package/skills/dx-packaging-push-upgrade-configure/SKILL.md +355 -0
- package/skills/dx-packaging-push-upgrade-configure/references/best-practices.md +61 -0
- package/skills/dx-packaging-push-upgrade-configure/references/cli-reference.md +148 -0
- package/skills/dx-packaging-push-upgrade-configure/references/objects.md +106 -0
- package/skills/dx-packaging-push-upgrade-configure/references/soql-recipes.md +144 -0
- package/skills/dx-scratch-def-configure/SKILL.md +163 -0
- package/skills/dx-scratch-def-configure/examples/confirm-card.md +53 -0
- package/skills/dx-scratch-def-configure/examples/report-recipes.md +100 -0
- package/skills/dx-scratch-def-configure/references/features.json +3270 -0
- package/skills/dx-scratch-def-configure/references/project-scratch-def.schema.json +1841 -0
- package/skills/dx-scratch-def-configure/references/settings-map.json +682 -0
- package/skills/dx-scratch-def-configure/scripts/lib_scratch_def.py +1306 -0
- package/skills/dx-scratch-def-configure/scripts/requirements.txt +3 -0
- package/skills/dx-scratch-def-configure/scripts/scrape_config_values.py +848 -0
- package/skills/education-cloud-domain-configure/SKILL.md +1 -1
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -1
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -1
- package/skills/experience-afv-analytics-query/SKILL.md +239 -0
- package/skills/experience-afv-analytics-query/references/references.md +176 -0
- package/skills/experience-app-mcp-delivery-generate/SKILL.md +142 -0
- package/skills/experience-app-mcp-delivery-generate/references/eca-consumer-key.md +26 -0
- package/skills/experience-app-mcp-delivery-generate/references/mcp-config-delivery.md +38 -0
- package/skills/experience-app-mcp-delivery-generate/references/plugin-format-and-publishing.md +80 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/discover_mcp_context.mjs +114 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_mcp_config.mjs +27 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_plugin.mjs +184 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/mcp_config.mjs +57 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/preflight.mjs +109 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/retrieve_eca_consumer_key.mjs +143 -0
- package/skills/experience-app-mcp-generate/SKILL.md +174 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.eca-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaGlblOauth-meta.xml +15 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauth-meta.xml +6 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauthPlcy-meta.xml +12 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME___defaultPolicy.ecaPlcy-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__MCP_SERVER_NAME__.mcpServerDefinition-meta.xml +5 -0
- package/skills/experience-app-mcp-generate/references/eca-fields.md +76 -0
- package/skills/experience-app-mcp-generate/references/mcp-objects.md +66 -0
- package/skills/experience-app-mcp-generate/references/tool-bindings.md +85 -0
- package/skills/experience-app-mcp-generate/references/troubleshooting.md +41 -0
- package/skills/experience-app-mcp-generate/references/ui-frameworks.md +19 -0
- package/skills/experience-app-mcp-generate/references/widget-resources.md +96 -0
- package/skills/experience-app-mcp-generate/scripts/activate_server.mjs +166 -0
- package/skills/experience-app-mcp-generate/scripts/check_setup_progress.mjs +212 -0
- package/skills/experience-app-mcp-generate/scripts/list_sites.mjs +211 -0
- package/skills/experience-app-mcp-generate/scripts/merge_tools.mjs +407 -0
- package/skills/experience-app-mcp-generate/scripts/preflight.mjs +127 -0
- package/skills/experience-app-mcp-generate/scripts/render_eca.mjs +144 -0
- package/skills/experience-app-mcp-generate/scripts/render_mcp_server.mjs +64 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_prompts.mjs +145 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_tools.mjs +72 -0
- package/skills/experience-app-mcp-generate/scripts/scan_tool_candidates.mjs +195 -0
- package/skills/experience-app-mcp-generate/scripts/utils/callback_url.mjs +36 -0
- package/skills/experience-app-mcp-generate/scripts/utils/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-generate/scripts/utils/eca_check.mjs +156 -0
- package/skills/experience-app-mcp-generate/scripts/utils/metadata_path.mjs +13 -0
- package/skills/experience-app-mcp-generate/scripts/verify_server.mjs +118 -0
- package/skills/experience-cms-content-type-generate/SKILL.md +1 -1
- package/skills/experience-design-validate/SKILL.md +1 -1
- package/skills/experience-search-coordinate/SKILL.md +18 -12
- package/skills/experience-search-coordinate/references/content-route.md +79 -1
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +52 -4
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +19 -2
- package/skills/platform-apex-generate/SKILL.md +14 -11
- package/skills/platform-apex-test-generate/SKILL.md +2 -1
- package/skills/platform-custom-field-generate/SKILL.md +24 -16
- package/skills/platform-custom-metadata-type-generate/SKILL.md +1 -0
- package/skills/platform-custom-setting-generate/SKILL.md +1 -0
- package/skills/platform-datamask-run/SKILL.md +52 -71
- package/skills/platform-datamask-run/references/api-surface.md +10 -4
- package/skills/platform-datamask-run/references/policy-authoring.md +56 -7
- package/skills/platform-datamask-run/references/run-and-abort.md +17 -10
- package/skills/platform-datamask-run/scripts/poll-job.sh +15 -25
- package/skills/platform-dataspace-access-configure/SKILL.md +43 -10
- package/skills/platform-flexipage-generate/SKILL.md +7 -10
- package/skills/platform-flexipage-generate/references/mcp_action_examples.md +42 -38
- package/skills/platform-metadata-discovery-get/SKILL.md +185 -0
- package/skills/platform-metadata-discovery-get/references/api-map.md +25 -0
- package/skills/platform-metadata-discovery-get/references/h360-routes.md +30 -0
- package/skills/platform-metadata-discovery-get/references/scoped-soql.md +52 -0
- package/skills/platform-metadata-grounding-get/SKILL.md +170 -0
- package/skills/platform-policy-rule-generate/SKILL.md +85 -231
- package/skills/platform-policy-rule-generate/references/condition-model.md +47 -0
- package/skills/platform-policy-rule-generate/references/condition-templates.md +89 -0
- package/skills/platform-policy-rule-generate/references/conjunction-compiler.md +25 -0
- package/skills/platform-policy-rule-generate/references/conjunction-expression.md +30 -0
- package/skills/platform-policy-rule-generate/references/consumer-all.md +9 -0
- package/skills/platform-policy-rule-generate/references/consumer-datacloud-ui.md +99 -0
- package/skills/platform-policy-rule-generate/references/deploy-errors.md +24 -36
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitionSets/ExistsJoinRLS.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitions/ExistsJoinRLS_Rule_1.policyRuleDefinition +91 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitionSets/FieldReadDeny.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitions/FieldReadDeny_Rule_1.policyRuleDefinition +72 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitionSets/LastCharactersFieldMasking.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitions/LastCharactersFieldMasking_Rule_1.policyRuleDefinition +77 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitionSets/PrincipalFieldMatchRLS.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitions/PrincipalFieldMatchRLS_Rule_1.policyRuleDefinition +77 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/package.xml +12 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitionSets/TaggedObjectAccess.policyRuleDefinitionSet +5 -0
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitions/TaggedObjectAccess_Rule_1.policyRuleDefinition +65 -0
- package/skills/platform-policy-rule-generate/references/headless-transport.md +87 -0
- package/skills/platform-policy-rule-generate/references/policy-schema-full.md +18 -11
- package/skills/platform-policy-rule-generate/references/policy-shapes.md +107 -0
- package/skills/platform-policy-rule-generate/references/principal-expression.md +31 -0
- package/skills/platform-policy-rule-generate/references/reference-resolution.md +51 -0
- package/skills/platform-policy-rule-generate/references/resource-expression.md +48 -0
- package/skills/platform-policy-rule-generate/references/runtime-context.md +9 -0
- package/skills/platform-policy-rule-generate/references/templates-access.md +11 -9
- package/skills/platform-policy-rule-generate/references/templates-advanced.md +5 -3
- package/skills/platform-policy-rule-generate/references/templates-record.md +37 -22
- package/skills/platform-policy-rule-generate/references/templates-transform.md +10 -8
- package/skills/platform-policy-rule-generate/references/templates.md +2 -2
- package/skills/platform-policy-rule-generate/references/ui-compatibility.md +36 -18
- package/skills/platform-report-generate/SKILL.md +29 -5
- package/skills/platform-report-generate/references/chart-types.md +26 -2
- package/skills/platform-report-generate/references/column-names.md +43 -0
- package/skills/platform-report-generate/references/errors-and-troubleshooting.md +1 -1
- package/skills/platform-report-generate/references/summary-formulas-sorting-limits.md +118 -0
- package/skills/platform-report-generate/references/verification-checklist.md +22 -2
- package/skills/service-digital-engagement-channel-configure/SKILL.md +49 -110
- package/skills/service-digital-engagement-channel-configure/assets/messaging_channel_template.xml +35 -0
- package/skills/service-digital-engagement-channel-configure/examples/asa_agent_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/auth_queue_channel.xml +58 -0
- package/skills/service-digital-engagement-channel-configure/examples/omni_flow_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/omni_queue_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/references/channel_settings.md +128 -28
- package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +16 -20
- package/skills/service-digital-engagement-channel-configure/references/prechat_params.md +10 -0
- package/skills/service-digital-engagement-channel-configure/references/recaptcha_handoff.md +38 -0
- package/skills/service-digital-engagement-channel-configure/references/user_verification.md +9 -0
- package/skills/service-digital-engagement-channel-configure/scripts/check-api-version.sh +4 -4
- package/skills/service-digital-engagement-channel-configure/scripts/normalize-channel-name.sh +12 -7
- package/skills/service-e911-configure/SKILL.md +242 -0
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +47 -44
- package/skills/service-itsm-agentic-setup-incident-management/examples/output-templates.md +110 -83
- package/skills/service-itsm-agentic-setup-incident-management/references/manage-incidents-with-ai.md +7 -3
- package/skills/service-itsm-agentic-setup-incident-management/references/priority-matrix.md +7 -5
- package/skills/service-itsm-agentic-setup-incident-management/references/sla-milestones.md +2 -2
- package/skills/service-itsm-agentic-setup-incident-management/references/status-checks.md +437 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -1
- package/skills/agentforce-bot-upgrade/references/planner-workflow-reference.md +0 -78
- package/skills/experience-content-media-image-generate/SKILL.md +0 -83
- package/skills/experience-content-media-image-generate/scripts/download-image.sh +0 -84
- package/skills/experience-content-media-stock-image-search/SKILL.md +0 -193
- package/skills/experience-content-media-stock-image-search/scripts/download-stock-image.py +0 -102
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
# Status Checks — Incident Management Setup Orchestrator
|
|
2
|
+
|
|
3
|
+
How to read each feature's real state from the org. Read it **before you show any status** — the two
|
|
4
|
+
prerequisite gates, the menu table, the re-read after a feature runs, the completion summary, and the
|
|
5
|
+
track status the ITSM setup coordinator shows for Incident Management. Status is never carried over from
|
|
6
|
+
earlier in the conversation, from a previous session, or from what the user says is already done: the org
|
|
7
|
+
may have changed since, and a resumed session can't tell. Every read here is a `GET` through
|
|
8
|
+
`dispatch_readonly`; nothing here writes.
|
|
9
|
+
|
|
10
|
+
**Contents:** status labels · how to read · the Salesforce Go rule · the two gates · row P (preferences) ·
|
|
11
|
+
row 1 (personas) · row 2 (Priority Matrix) · row 3 (SLA) · row 4 (dashboards) · row 5 (Email-to-Incident) ·
|
|
12
|
+
row 6 (Major Incident Management) · row 7 (Broadcast Communications) · row 8 (AI) · row 9 (privilege) ·
|
|
13
|
+
row 10 (audit tracking) · track roll-up.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Status labels
|
|
18
|
+
|
|
19
|
+
| Label | When |
|
|
20
|
+
|-------|------|
|
|
21
|
+
| **Done** | The org reads back the finished state |
|
|
22
|
+
| **In progress** | Partly set up — some of it reads back and some doesn't, or the org is still working on it |
|
|
23
|
+
| **Not done** | Not set up yet |
|
|
24
|
+
| **Not available** | The org isn't licensed for it, or Salesforce hasn't provisioned it — no setup step here can fix that |
|
|
25
|
+
| **Couldn't check** | A read failed or was refused. Never show this as **Not done** — you don't know |
|
|
26
|
+
|
|
27
|
+
Every status comes with a short plain-language note saying what the org showed ("Turned on", "4 of 6 on",
|
|
28
|
+
"Nobody has an Incident persona yet").
|
|
29
|
+
|
|
30
|
+
## How to read
|
|
31
|
+
|
|
32
|
+
- `v{version}` in a path is the org's full API version, as in Behavior step 2 (e.g. `68.0`). These are
|
|
33
|
+
the reads to use; if a SOR's `describe` shows a different path for the same read, use that one.
|
|
34
|
+
- `status_code` `200` → read `body`.
|
|
35
|
+
- Any other `status_code`, an error body (`body[0].errorCode`), or no connected org → **Couldn't check**
|
|
36
|
+
for the row that made the read, unless that row's table says otherwise. Give the reason in plain words
|
|
37
|
+
("you don't have access to read this yet", "the org didn't respond") — never the code or the path.
|
|
38
|
+
- A status read never stops the flow: a refused read only marks its row **Couldn't check**. The hand-off
|
|
39
|
+
protocol's stop on `401` / `403` / `404` applies when a feature runs, not here.
|
|
40
|
+
- Read the two gates first (Behavior step 2), and the rows only when both gates let you continue. Run the
|
|
41
|
+
reads one at a time, in the order below, skipping the ones a row says to skip.
|
|
42
|
+
- In each row's table, take the first line that fits.
|
|
43
|
+
- Salesforce Go's checklist for IT Service Incident Management is mostly ticked by hand, so these rows read
|
|
44
|
+
the real configuration instead. A row can read **Done** while Go's checklist shows it unticked, or the
|
|
45
|
+
reverse — if the user asks, say so.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## The Salesforce Go rule
|
|
50
|
+
|
|
51
|
+
The two gates, the dashboards check (row 4), and Broadcast Communications (row 7) are Salesforce Go
|
|
52
|
+
features. Salesforce Go shows a feature as turned on only when **both** reads agree:
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/connect/setup/discovery/feature/<featureApiName>/status", "method": "GET" })
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/connect/setup/discovery/feature/<featureApiName>/automation/status", "method": "GET" })
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
- the status read → `body.status` is `ENABLED`, **and**
|
|
63
|
+
- the automation read → every `body.automationStepStatuses[].status` is `Completed` (an empty list
|
|
64
|
+
counts as all finished). Make this read only when the status read returned `ENABLED`.
|
|
65
|
+
|
|
66
|
+
A feature that reads `ENABLED` while one of its setup steps is `NotStarted`, `InProgress`, or `Error` is
|
|
67
|
+
**not** fully turned on: Salesforce Go shows its setup as unfinished.
|
|
68
|
+
|
|
69
|
+
| What the reads show | Label | Note |
|
|
70
|
+
|---------------------|-------|------|
|
|
71
|
+
| The status read failed, or it read `ENABLED` and the automation read failed | Couldn't check | Why, in plain words |
|
|
72
|
+
| `status` `NOT_AVAILABLE` | Not available | "This org isn't licensed for <feature title>." |
|
|
73
|
+
| `ENABLED`, every step `Completed` | Done | "Turned on" |
|
|
74
|
+
| `ENABLED`, a step not `Completed` | In progress | "Turned on, but setup didn't finish: <step titles>" — plus the step's message for a step in `Error` |
|
|
75
|
+
| `IN_PROGRESS` | In progress | "Salesforce Go is turning it on now" |
|
|
76
|
+
| `DISABLE_IN_PROGRESS` | Not done | "Salesforce Go is turning it off now" |
|
|
77
|
+
| `NOT_ENABLED`, an `enableBlockedReasons[]` entry with `type` `NOT_AVAILABLE` | Not available | "<feature title> isn't available in this org" — plus the blocked reason's message |
|
|
78
|
+
| `NOT_ENABLED`, `blockedByApexLock` `true` or another `enableBlockedReasons[]` entry | Not done | The blocked reason, in plain words |
|
|
79
|
+
| `NOT_ENABLED`, nothing blocking | Not done | "Not turned on" |
|
|
80
|
+
| Any other `status` | Couldn't check | "Salesforce Go reported a state I don't recognize" |
|
|
81
|
+
|
|
82
|
+
**Name things the way Salesforce Go does.** Step statuses carry only internal step names. When a step
|
|
83
|
+
isn't finished, read the feature summary once for the titles Salesforce Go shows:
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/connect/setup/discovery/feature/<featureApiName>/summary", "method": "GET" })
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`body.title` is the feature's name in Salesforce Go; `body.steps[]` pairs each step `apiName` with its
|
|
90
|
+
`title`. If the summary read fails, count instead ("1 of 3 setup steps didn't finish") — never show an
|
|
91
|
+
internal step name. For a step in `Error`, its `errorMessageLabel` is the message Salesforce Go shows;
|
|
92
|
+
fill `{0}`, `{1}`, … from `errorMessageParams`.
|
|
93
|
+
|
|
94
|
+
**Blocked reasons.** `enableBlockedReasons[].message` is HTML-escaped and can contain links — relay it
|
|
95
|
+
in plain words with the markup removed (`isn't` is "isn't"). `ANOTHER_FEATURE_RUNNING` means another
|
|
96
|
+
Salesforce Go feature is turning on; it clears when that one finishes. `blockedByApexLock` means Apex is
|
|
97
|
+
being deployed in the org; it clears shortly.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## The two gates
|
|
102
|
+
|
|
103
|
+
Behavior step 2 reads both with the Salesforce Go rule, in this order — the status reads are the
|
|
104
|
+
`IncidentMgmt` SOR's `read-itsm-setup-feature-status` and `read-itsm-incident-feature-status` steps:
|
|
105
|
+
|
|
106
|
+
1. `service-cloud-itsm-setup` — shown in Salesforce Go as **IT Service Enablement**
|
|
107
|
+
2. `service-cloud-itsm-incident` — shown as **Incident Management**. Read it only when IT Service
|
|
108
|
+
Enablement lets you continue. Its setup steps (*Turn on field validations*, *Automatically close child
|
|
109
|
+
incidents*, *Turn on Email to Incident*) set things rows P and 5 read; those rows show what the org
|
|
110
|
+
reads either way.
|
|
111
|
+
|
|
112
|
+
| Gate result | What to do |
|
|
113
|
+
|-------------|------------|
|
|
114
|
+
| Done | Continue |
|
|
115
|
+
| In progress with `status` `ENABLED` (a setup step didn't finish) | Continue, and name the unfinished step in the menu header |
|
|
116
|
+
| Couldn't check with `status` `ENABLED` (only the automation read failed) | Continue, and say you couldn't check whether its setup finished |
|
|
117
|
+
| Not done — "Not turned on" (`NOT_ENABLED`, nothing blocking) | The Yes/No enable question in Behavior step 2 |
|
|
118
|
+
| Anything else — Not available, turning on or off, blocked, or a failed status read | Stop and explain in plain words — no question, no menu |
|
|
119
|
+
|
|
120
|
+
The gates show in the menu header, not as menu rows.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Row P — Incident Preferences
|
|
125
|
+
|
|
126
|
+
Read each of the six through the `IncidentMgmt` SOR's preference read (`getOrgPref_1`), one call per
|
|
127
|
+
preference:
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/incident-mgmt", "method": "GET", "queryParams": { "prefName": "IncidentValidationsEnabled" } })
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
`body` is `true` (on) or `false` (off).
|
|
134
|
+
|
|
135
|
+
| Preference | `prefName` |
|
|
136
|
+
|------------|------------|
|
|
137
|
+
| Default Field Validations for Incidents | `IncidentValidationsEnabled` |
|
|
138
|
+
| Automatically Close Child Incidents | `AutoClosureChildIncidents` |
|
|
139
|
+
| Automatically Triage Incidents | `IncidentTriageAgentEnabled` |
|
|
140
|
+
| Assign Incidents with Einstein | `IncAssignWithAgentEnabled` |
|
|
141
|
+
| Restrict Assigned Group to Regular Groups | `AssignedGroupValidationEnabled` |
|
|
142
|
+
| Enable Rich Text for Incident Descriptions | `RtaIncidentDescEnabled` |
|
|
143
|
+
|
|
144
|
+
| Result | Label | Note |
|
|
145
|
+
|--------|-------|------|
|
|
146
|
+
| All six read `true` | Done | "All six are on" |
|
|
147
|
+
| At least one reads `true` | Done | "<N> of 6 on; off: <labels of the ones off>" — add "couldn't check <labels>" for any read that failed |
|
|
148
|
+
| All six read `false` | Not done | "All six are off" |
|
|
149
|
+
| Otherwise (a read failed and none reads `true`) | Couldn't check | Why, in plain words — name the ones that read off |
|
|
150
|
+
|
|
151
|
+
Rows 6 and 8 reuse these reads; don't make them twice. Triage and Einstein assignment read through this
|
|
152
|
+
path even where the generic preference read refuses them.
|
|
153
|
+
|
|
154
|
+
## Row 1 — Incident Persona PSG
|
|
155
|
+
|
|
156
|
+
Count the active users who hold each persona:
|
|
157
|
+
|
|
158
|
+
```json
|
|
159
|
+
mcp__headless-360__dispatch_readonly({
|
|
160
|
+
"url": "/services/data/v{version}/query",
|
|
161
|
+
"method": "GET",
|
|
162
|
+
"queryParams": { "q": "SELECT PermissionSetGroup.DeveloperName psg, COUNT_DISTINCT(AssigneeId) holders FROM PermissionSetAssignment WHERE Assignee.IsActive = true AND PermissionSetGroup.DeveloperName IN ('IncidentFulfillerPSG','IncidentManagerPSG') GROUP BY PermissionSetGroup.DeveloperName" }
|
|
163
|
+
})
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
Each `body.records[]` entry is one persona — `psg` `IncidentFulfillerPSG` (Incident Fulfiller) or
|
|
167
|
+
`IncidentManagerPSG` (Incident Manager) — and `holders` is how many people have it. Only when there are no
|
|
168
|
+
records, check that the personas exist:
|
|
169
|
+
|
|
170
|
+
```json
|
|
171
|
+
mcp__headless-360__dispatch_readonly({
|
|
172
|
+
"url": "/services/data/v{version}/query",
|
|
173
|
+
"method": "GET",
|
|
174
|
+
"queryParams": { "q": "SELECT DeveloperName FROM PermissionSetGroup WHERE DeveloperName IN ('IncidentFulfillerPSG','IncidentManagerPSG')" }
|
|
175
|
+
})
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
| Result | Label | Note |
|
|
179
|
+
|--------|-------|------|
|
|
180
|
+
| A record with `holders` above `0` | Done | "Incident Fulfiller: <a> people · Incident Manager: <b> people" ("nobody yet" for a persona with no record) |
|
|
181
|
+
| No records, `totalSize` `0` on the second read | Not available | "The Incident personas aren't set up in this org" |
|
|
182
|
+
| No records, a persona exists | Not done | "Nobody has an Incident persona yet" |
|
|
183
|
+
| A read failed | Couldn't check | Why, in plain words |
|
|
184
|
+
|
|
185
|
+
This says whether anyone has a persona, not whether a particular person does — the persona feature checks
|
|
186
|
+
the person the user names.
|
|
187
|
+
|
|
188
|
+
## Row 2 — Priority Matrix
|
|
189
|
+
|
|
190
|
+
```json
|
|
191
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/setup/org/preferences/IncPriorityMatrixEnabled", "method": "GET" })
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
```json
|
|
195
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/service/service-itsm/ipcpriority-matrix-setup/fetch-priority-matrix-configurations", "method": "GET", "queryParams": { "entityType": "Incident" } })
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
`body.isPreferenceEnabled` is *Turn on Automatic Priority Assignment for IT Service*; each
|
|
199
|
+
`body.priorityMatrixConfigurationRows[]` entry is one priority rule.
|
|
200
|
+
|
|
201
|
+
| Result | Label | Note |
|
|
202
|
+
|--------|-------|------|
|
|
203
|
+
| Either read failed | Couldn't check | Why, in plain words |
|
|
204
|
+
| On, at least one rule | Done | "Turned on, <N> priority rules" |
|
|
205
|
+
| On, no rules | In progress | "Turned on, but no priority rules are set yet" |
|
|
206
|
+
| Off, at least one rule | In progress | "<N> priority rules are set, but automatic priority isn't turned on" |
|
|
207
|
+
| Off, no rules | Not done | "Not turned on" |
|
|
208
|
+
|
|
209
|
+
## Row 3 — SLA & Milestones
|
|
210
|
+
|
|
211
|
+
```json
|
|
212
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/slasettings/get-sla-management-permission", "method": "GET" })
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
```json
|
|
216
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/slasettings/get-sla-versioning-permission", "method": "GET" })
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
Each `body` is `true` or `false` — SLA Management and SLA Versioning. Only when both are `true`, read the
|
|
220
|
+
SLA policies:
|
|
221
|
+
|
|
222
|
+
```json
|
|
223
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/connect/sla-management/sla-policies", "method": "GET" })
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Use the `body.slaPolicies[]` entries whose `processType` is `Incident`; `status` `Enabled` means active.
|
|
227
|
+
|
|
228
|
+
| Result | Label | Note |
|
|
229
|
+
|--------|-------|------|
|
|
230
|
+
| A read failed | Couldn't check | Why, in plain words |
|
|
231
|
+
| Both `false` | Not done | "SLA Management isn't turned on" |
|
|
232
|
+
| One `true` | In progress | "<SLA Management or SLA Versioning> is on, but <the other> isn't" |
|
|
233
|
+
| An Incident policy is `Enabled` | Done | "SLA Management is on; active Incident policies: <names>" |
|
|
234
|
+
| Incident policies, none `Enabled` | In progress | "SLA Management is on, but no Incident SLA policy is active" |
|
|
235
|
+
| No Incident policy | In progress | "SLA Management is on, but Incidents have no SLA policy yet" |
|
|
236
|
+
|
|
237
|
+
## Row 4 — Incident Dashboards
|
|
238
|
+
|
|
239
|
+
Read the four dashboard preferences, each like row 2's preference read
|
|
240
|
+
(`/services/data/v{version}/setup/org/preferences/<name>` → `body.isPreferenceEnabled`):
|
|
241
|
+
|
|
242
|
+
| Persona | Dashboards | Home page dashboard |
|
|
243
|
+
|---------|------------|---------------------|
|
|
244
|
+
| Incident Manager | `ITSMIncMgrDashboard` | `ITSMHomeDashboard` |
|
|
245
|
+
| Incident Fulfiller | `ITSMIncFulDashboard` | `ITSMHomeFulDashboard` |
|
|
246
|
+
|
|
247
|
+
The feature turns on both for each persona it sets up. Only when all four read off, apply the Salesforce
|
|
248
|
+
Go rule's status read to `service-cloud-itsm-dashboard` (shown in Salesforce Go as **Dynamic Dashboards for
|
|
249
|
+
IT Service**).
|
|
250
|
+
|
|
251
|
+
| Result | Label | Note |
|
|
252
|
+
|--------|-------|------|
|
|
253
|
+
| A preference read failed | Couldn't check | Why, in plain words |
|
|
254
|
+
| A persona has one of its two on | In progress | "<persona>: the dashboards are on, but the Home page dashboard isn't" (or the reverse) |
|
|
255
|
+
| A persona has both on | Done | "<Incident Manager, Incident Fulfiller, or both> dashboards are on" |
|
|
256
|
+
| All off, the dashboard feature `NOT_AVAILABLE` or blocked with `NOT_AVAILABLE` | Not available | "This org isn't licensed for Dynamic Dashboards for IT Service" |
|
|
257
|
+
| All off | Not done | "No Incident dashboards are turned on yet" |
|
|
258
|
+
|
|
259
|
+
## Row 5 — Email-to-Incident
|
|
260
|
+
|
|
261
|
+
```json
|
|
262
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/email-to-incident", "method": "GET" })
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
`body.emailToIncidentCommonSetting.enableEmailToIncident` says whether it's on. Only when it's on, read the
|
|
266
|
+
routing addresses:
|
|
267
|
+
|
|
268
|
+
```json
|
|
269
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/email-to-incident/get-all-routing-addresses", "method": "GET" })
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
`body` lists one entry per routing address; on newer releases each entry has a `verified` flag.
|
|
273
|
+
|
|
274
|
+
| Result | Label | Note |
|
|
275
|
+
|--------|-------|------|
|
|
276
|
+
| A read failed | Couldn't check | Why, in plain words |
|
|
277
|
+
| On, at least one routing address | Done | "Turned on; <N> routing addresses" — add "<n> not verified yet" for entries whose `verified` is `false` |
|
|
278
|
+
| On, no routing address | In progress | "Turned on, but no routing address is set up yet" |
|
|
279
|
+
| Off | Not done | "Not turned on" |
|
|
280
|
+
|
|
281
|
+
## Row 6 — Major Incident Management
|
|
282
|
+
|
|
283
|
+
First the MIM probe — a `200` with a `true` / `false` body means MIM is active, and the value is
|
|
284
|
+
*auto-create problem*:
|
|
285
|
+
|
|
286
|
+
```json
|
|
287
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/mim/get-mimsetup-page-org-preference", "method": "GET", "queryParams": { "prefName": "AutoCreationOfProblem" } })
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
Only when it returns a boolean, read the Major Incident Manager license, then the approval group:
|
|
291
|
+
|
|
292
|
+
```json
|
|
293
|
+
mcp__headless-360__dispatch_readonly({
|
|
294
|
+
"url": "/services/data/v{version}/query",
|
|
295
|
+
"method": "GET",
|
|
296
|
+
"queryParams": { "q": "SELECT DeveloperName, TotalLicenses, UsedLicenses FROM PermissionSetLicense WHERE DeveloperName = 'MajorIncidentManagerPsl'" }
|
|
297
|
+
})
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
```json
|
|
301
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/mim/get-major-incident-approval-group", "method": "GET" })
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
The group read returns the group's Id when one is designated and `{}` when none is — never show the Id.
|
|
305
|
+
*Auto-close child incidents* is row P's `AutoClosureChildIncidents` read.
|
|
306
|
+
|
|
307
|
+
| Result | Label | Note |
|
|
308
|
+
|--------|-------|------|
|
|
309
|
+
| The probe returns `403` | Couldn't check | "Reading this needs an admin with IT Service setup access" |
|
|
310
|
+
| The probe returns another error, or a body that isn't `true` / `false` | Not available | "Major Incident Management isn't active in this org — Salesforce turns it on" |
|
|
311
|
+
| No `MajorIncidentManagerPsl` record | Not available | "This org doesn't have the Major Incident Management add-on" |
|
|
312
|
+
| An approval group is designated | Done | "An approval group is set; auto-create problem: <on/off> · auto-close child incidents: <on/off>" |
|
|
313
|
+
| `{}`, `UsedLicenses` above `0` | In progress | "<N> people have the Major Incident Manager license, but no approval group is set" |
|
|
314
|
+
| `{}`, `UsedLicenses` `0` | Not done | "No approval group or Major Incident Managers yet" |
|
|
315
|
+
| Otherwise (the license or group read failed) | Couldn't check | Why, in plain words |
|
|
316
|
+
|
|
317
|
+
## Row 7 — Broadcast Communications
|
|
318
|
+
|
|
319
|
+
Apply the Salesforce Go rule to `service-cloud-itsm-broadcast-communications` (shown in Salesforce Go as
|
|
320
|
+
**Broadcast Communications**). Only when it comes out **Done**, read who can send and where:
|
|
321
|
+
|
|
322
|
+
- **Senders** — row 1's counting pattern, once for direct assignments and once through a permission set
|
|
323
|
+
group (SOQL can't combine the two in one query); each count is `body.records[0].holders`, and the larger
|
|
324
|
+
is a floor:
|
|
325
|
+
|
|
326
|
+
```json
|
|
327
|
+
mcp__headless-360__dispatch_readonly({
|
|
328
|
+
"url": "/services/data/v{version}/query",
|
|
329
|
+
"method": "GET",
|
|
330
|
+
"queryParams": { "q": "SELECT COUNT_DISTINCT(AssigneeId) holders FROM PermissionSetAssignment WHERE Assignee.IsActive = true AND PermissionSet.Name = 'BroadcastCommSender'" }
|
|
331
|
+
})
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
```json
|
|
335
|
+
mcp__headless-360__dispatch_readonly({
|
|
336
|
+
"url": "/services/data/v{version}/query",
|
|
337
|
+
"method": "GET",
|
|
338
|
+
"queryParams": { "q": "SELECT COUNT_DISTINCT(AssigneeId) holders FROM PermissionSetAssignment WHERE Assignee.IsActive = true AND PermissionSetGroupId IN (SELECT PermissionSetGroupId FROM PermissionSetGroupComponent WHERE PermissionSet.Name = 'BroadcastCommSender')" }
|
|
339
|
+
})
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
- **Channels and objects** — six preference reads like row 2's: channels `EmailNotifications` (Email),
|
|
343
|
+
`InAppNotifications` (In-app), `SlackNotifications` (Slack), `TeamsNotifications` (Microsoft Teams);
|
|
344
|
+
objects `BroadcastCommOnIncident` (Incidents), `BroadcastCommOnChgReq` (Change Requests).
|
|
345
|
+
|
|
346
|
+
| Result | Label | Note |
|
|
347
|
+
|--------|-------|------|
|
|
348
|
+
| The Go rule isn't Done | The Go rule's label | The Go rule's note |
|
|
349
|
+
| A sender, a channel on, and Incidents on | Done | "Turned on; <channels on>; at least <larger count> senders" |
|
|
350
|
+
| A read that worked shows something missing | In progress | "Turned on, but <no senders yet, no channel is on, or it isn't on for Incidents>" — add what you couldn't check |
|
|
351
|
+
| Otherwise (a read failed) | Couldn't check | "Turned on; I couldn't check <what>" |
|
|
352
|
+
|
|
353
|
+
The Slack channel can read on with no Slack workspace connected — say so if Slack is the only channel on.
|
|
354
|
+
|
|
355
|
+
## Row 8 — Manage Incidents with AI
|
|
356
|
+
|
|
357
|
+
Triage and Einstein assignment are row P's `IncidentTriageAgentEnabled` and `IncAssignWithAgentEnabled`
|
|
358
|
+
reads — reuse them. Read the chat and voice switch:
|
|
359
|
+
|
|
360
|
+
```json
|
|
361
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/setup/org/preferences/ChatToIncidentAiEnabled", "method": "GET" })
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
The three switches are *Automatically Triage Incidents*, *Let Einstein Assign Incidents*, and *Report
|
|
365
|
+
Incidents from Chat or Voice Using AI*.
|
|
366
|
+
|
|
367
|
+
| Result | Label | Note |
|
|
368
|
+
|--------|-------|------|
|
|
369
|
+
| A read failed | Couldn't check | Name the switch you couldn't check, and the others' states |
|
|
370
|
+
| All three on | Done | "All three are on" |
|
|
371
|
+
| Some on | In progress | "On: <labels> · off: <labels>" |
|
|
372
|
+
| None on | Not done | "All three are off" |
|
|
373
|
+
|
|
374
|
+
## Row 9 — Service Management Privilege
|
|
375
|
+
|
|
376
|
+
```json
|
|
377
|
+
mcp__headless-360__dispatch_readonly({ "url": "/services/data/v{version}/setup/org/preferences/PrivilegeAssignmentEnabled", "method": "GET" })
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
`body.isPreferenceEnabled` is *Enable Privilege Assignment*. Only when it's on — Setup hides the rest while
|
|
381
|
+
it's off — read the escalation level and the privileges:
|
|
382
|
+
|
|
383
|
+
```json
|
|
384
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/service-mgmt-privilege-setup", "method": "GET" })
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
```json
|
|
388
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/service-mgmt-privilege-setup/get-service-privileges", "method": "GET" })
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
The level read's `body` is the saved escalation level — `2147483647` means none is saved yet. The privileges
|
|
392
|
+
read lists one entry per privilege.
|
|
393
|
+
|
|
394
|
+
| Result | Label | Note |
|
|
395
|
+
|--------|-------|------|
|
|
396
|
+
| The toggle read returns `404` | Not available | "Service Management Privilege isn't available in this org" |
|
|
397
|
+
| The toggle read fails otherwise | Couldn't check | Why, in plain words |
|
|
398
|
+
| The toggle is off | Not done | "Enable Privilege Assignment is off" |
|
|
399
|
+
| At least one privilege, or a saved level | Done | "Turned on; <N> privileges; escalation level <level, or not set>" |
|
|
400
|
+
| Both reads worked: no privilege, no saved level | In progress | "Turned on, but no privileges or escalation level yet" |
|
|
401
|
+
| Otherwise (a read failed) | Couldn't check | "Turned on; I couldn't check <what>" |
|
|
402
|
+
|
|
403
|
+
Employee assignments have no read, so this never says who holds a privilege.
|
|
404
|
+
|
|
405
|
+
## Row 10 — Audit Tracking
|
|
406
|
+
|
|
407
|
+
```json
|
|
408
|
+
mcp__headless-360__dispatch_readonly({ "url": "/headless/invoke/platform/field-history-tracking/get-single-entity-tracking-data", "method": "GET", "queryParams": { "entityEnumOrId": "Incident" } })
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
The tracked Incident fields are the `body.fields[]` entries with `isCurrentlyTracked` `true`;
|
|
412
|
+
`body.isTrackingPrefEnabled` is Incident's object-level tracking.
|
|
413
|
+
|
|
414
|
+
| Result | Label | Note |
|
|
415
|
+
|--------|-------|------|
|
|
416
|
+
| The read failed | Couldn't check | Why, in plain words |
|
|
417
|
+
| A field tracked, object-level tracking on | Done | "Tracking <N> Incident fields" |
|
|
418
|
+
| A field tracked, object-level tracking off | In progress | "<N> Incident fields are chosen, but history tracking for Incidents is off" |
|
|
419
|
+
| No field tracked | Not done | "No Incident fields are tracked yet" |
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## Track roll-up
|
|
424
|
+
|
|
425
|
+
One status for the whole Incident Management track — the status the ITSM setup coordinator shows in its
|
|
426
|
+
track table. Take the first line that fits; when a gate decides it, skip the row reads:
|
|
427
|
+
|
|
428
|
+
1. A gate is **Not available** → **Not available**
|
|
429
|
+
2. A gate is **Couldn't check** → **Couldn't check**
|
|
430
|
+
3. A gate is **Not done** → **Not done** ("Incident Management isn't turned on", or IT Service Enablement)
|
|
431
|
+
4. A gate is **In progress** → **In progress** (the Go rule's note)
|
|
432
|
+
5. Going through rows P, then 1–10, and skipping **Not available** rows, the first that's **In progress**
|
|
433
|
+
or **Not done** → **In progress** ("Incident Management is on; <feature> isn't set up yet")
|
|
434
|
+
6. Any row is **Couldn't check** → **Couldn't check**
|
|
435
|
+
7. Otherwise → **Done**
|
|
436
|
+
|
|
437
|
+
Give the note from the gate or row that decided it.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# Planner Workflow Reference
|
|
2
|
-
|
|
3
|
-
Use this reference during orchestrator Step 3 when processing multiple bots in a single invocation.
|
|
4
|
-
|
|
5
|
-
## When To Apply
|
|
6
|
-
|
|
7
|
-
- Apply only when there are more than 1 ready-for-authoring Agent Specs.
|
|
8
|
-
- If there is 1 or fewer specs, skip planner workflow and keep specs unchanged.
|
|
9
|
-
|
|
10
|
-
## Inputs
|
|
11
|
-
|
|
12
|
-
Required inputs to this workflow:
|
|
13
|
-
|
|
14
|
-
1. `spec_paths`: all ready-for-authoring Agent Spec paths
|
|
15
|
-
2. `working_dir`: orchestrator working directory where planner output must be written
|
|
16
|
-
3. associated artifacts for each spec when present:
|
|
17
|
-
- handoff JSON
|
|
18
|
-
- open questions
|
|
19
|
-
|
|
20
|
-
## Required Workflow
|
|
21
|
-
|
|
22
|
-
1. Read all specs and associated artifacts.
|
|
23
|
-
2. Build a final candidate set of specs that will each map to one actual downstream agent.
|
|
24
|
-
3. Identify existing subagent grouping/context in each spec.
|
|
25
|
-
4. Attempt regrouping based on:
|
|
26
|
-
- intent
|
|
27
|
-
- underlying object/entity
|
|
28
|
-
- broad category
|
|
29
|
-
5. Allowed structural operations across specs:
|
|
30
|
-
- merge
|
|
31
|
-
- split
|
|
32
|
-
- move
|
|
33
|
-
- delete
|
|
34
|
-
6. Apply operations only when they improve:
|
|
35
|
-
- modularity
|
|
36
|
-
- context-awareness
|
|
37
|
-
- interactive user experience
|
|
38
|
-
7. Never perform changes for superficial consistency only.
|
|
39
|
-
8. Preserve full functional coverage:
|
|
40
|
-
- no input functionality may be lost
|
|
41
|
-
- if any functionality loss risk is detected, abandon changes and mark unchanged
|
|
42
|
-
|
|
43
|
-
## Required Output File
|
|
44
|
-
|
|
45
|
-
Write:
|
|
46
|
-
- `<working_dir>/bot-upgrade-planner-output.json`
|
|
47
|
-
|
|
48
|
-
Schema:
|
|
49
|
-
|
|
50
|
-
```json
|
|
51
|
-
{
|
|
52
|
-
"specs_changed": true,
|
|
53
|
-
"updated_specs": [
|
|
54
|
-
{
|
|
55
|
-
"original_spec_path": "/path/original/spec-a.md",
|
|
56
|
-
"updated_spec_path": "/path/updated/spec-a.md",
|
|
57
|
-
"run_project_dir": "/path/updated/run-project-dir",
|
|
58
|
-
"handoff_json_path": "/path/updated/spec-a-einstein-bot-handoff.json",
|
|
59
|
-
"open_questions_path": "/path/updated/spec-a-open-questions.md"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Rules:
|
|
66
|
-
|
|
67
|
-
1. `specs_changed` is boolean.
|
|
68
|
-
2. If `specs_changed=false`, then `updated_specs=[]`.
|
|
69
|
-
3. If `specs_changed=true`, `updated_specs` must include entries for all changed specs.
|
|
70
|
-
4. Every changed entry must include:
|
|
71
|
-
- `original_spec_path`
|
|
72
|
-
- `updated_spec_path`
|
|
73
|
-
- `run_project_dir`
|
|
74
|
-
- `handoff_json_path`
|
|
75
|
-
- `open_questions_path`
|
|
76
|
-
5. If any functionality-loss risk exists, force:
|
|
77
|
-
- `specs_changed=false`
|
|
78
|
-
- `updated_specs=[]`
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: experience-content-media-image-generate
|
|
3
|
-
description: "Generates high-fidelity visual assets, logos, and UI mockups using the media-management MCP server. Trigger this skill whenever the user asks to generate an image, create a logo, produce a hero banner, design a UI icon, or build a visual asset. It is explicitly designed to handle technical specifications including file formats (PNG, JPEG, WEBP), specific dimensions (e.g. 1024x1024), and transparency requirements. Use this skill when the user needs to integrate generated imagery into application code or web pages. It ensures consistent output quality and provides a standardized SVG fallback if the generation tool is unavailable."
|
|
4
|
-
metadata:
|
|
5
|
-
version: "1.0"
|
|
6
|
-
domains: ["Experience"]
|
|
7
|
-
cliTools:
|
|
8
|
-
- tool: ["jq"]
|
|
9
|
-
semver: ">=1.6.0"
|
|
10
|
-
- tool: ["sf"]
|
|
11
|
-
semver: ">=2.0.0"
|
|
12
|
-
mcpTools:
|
|
13
|
-
media-management:
|
|
14
|
-
tools: ["create_image"]
|
|
15
|
-
semver: ">=1.0.0"
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
# Generating Images
|
|
19
|
-
|
|
20
|
-
## Goal
|
|
21
|
-
|
|
22
|
-
To programmatically generate, download, and preview visual assets requested by the user, ensuring specific format and quality standards are met while providing a robust fallback mechanism.
|
|
23
|
-
|
|
24
|
-
## Workflow
|
|
25
|
-
|
|
26
|
-
1. Check if the `media-management` MCP server is configured and its `create_image` tool is available.
|
|
27
|
-
2. If available, use `create_image` to generate the image.
|
|
28
|
-
3. If not available, use the placeholder fallback below.
|
|
29
|
-
|
|
30
|
-
## MCP: media-management
|
|
31
|
-
|
|
32
|
-
**Tool:** `create_image`
|
|
33
|
-
|
|
34
|
-
Check your available tools. If `create_image` is present, use it as the primary image generation method — pass the natural language prompt and applicable parameters from the table below. (`media-management` here refers to the MCP server name, not this skill.)
|
|
35
|
-
|
|
36
|
-
If `create_image` is not in your tool list, the `media-management` MCP is not configured — use the placeholder fallback below.
|
|
37
|
-
|
|
38
|
-
## Image Generation Parameters
|
|
39
|
-
|
|
40
|
-
Use these defaults unless the user specifies otherwise:
|
|
41
|
-
|
|
42
|
-
| Parameter | Default | Options |
|
|
43
|
-
|---|---|---|
|
|
44
|
-
| `model` | `Standard` | `Standard`, `Premium` |
|
|
45
|
-
| `size` | `auto` | `auto`, `1024x1024`, `1536x1024`, `1024x1536` (pick closest to user-requested size) |
|
|
46
|
-
| `quality` | `medium` | `low`, `medium`, `high` |
|
|
47
|
-
| `outputCompression` | `75` | `0–100` (webp/jpeg only) |
|
|
48
|
-
| `outputFormat` | `webp` | `webp`, `jpeg`, `png` |
|
|
49
|
-
| `background` | `auto` | `auto`, `transparent`, `opaque` |
|
|
50
|
-
|
|
51
|
-
**Format rule:** If `outputFormat` is `png`, set `outputCompression` to `100`.
|
|
52
|
-
|
|
53
|
-
## After Successful Generation
|
|
54
|
-
|
|
55
|
-
Run `download-image.sh` (located in this skill's `scripts/` directory) to download and preview the image:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
bash scripts/download-image.sh \
|
|
59
|
-
--url "<image_url_from_response>" \
|
|
60
|
-
--id "<responseId>" \
|
|
61
|
-
--format "<outputFormat>" \
|
|
62
|
-
--preview
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
The script handles credential retrieval, download, and VS Code preview. Pass `--output-dir <dir>` to override the default `generatedimages/` directory.
|
|
66
|
-
|
|
67
|
-
**Never resize or post-process the generated image with external tools.** To control display dimensions, use CSS properties (e.g. `width`, `height`, `object-fit`) at the point of use.
|
|
68
|
-
|
|
69
|
-
## Fallback: Use placeholder URL
|
|
70
|
-
|
|
71
|
-
If image generation fails or is not enabled, return the following URL as the image source — do not download it, do not save it locally:
|
|
72
|
-
|
|
73
|
-
```yaml
|
|
74
|
-
https://cdn.scs.static.lightning.force.com/content/assets/d5222d4a11e6c2b735152d7eea824ce4/placeholder.svg
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Use this URL directly wherever the image is referenced in code (e.g. as a `src` attribute or CSS `url()`).
|
|
78
|
-
|
|
79
|
-
## Placeholder Policy
|
|
80
|
-
|
|
81
|
-
There is only one placeholder URL. Do not download it, modify it, or generate alternative placeholders using Python, ImageMagick, or any other tool.
|
|
82
|
-
|
|
83
|
-
If the user requests a placeholder of a specific size or format, inform them that only this placeholder URL is available and direct them to use CSS properties (e.g. `width`, `height`, `object-fit`) to scale it at the point of use.
|