@salesforce/afv-skills 1.63.0 → 1.65.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/package.json +1 -1
- package/skills/agentforce-gpt-email-generation-configure/SKILL.md +312 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +253 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +796 -0
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +111 -0
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +1053 -0
- package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +64 -0
- package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +46 -0
- package/skills/automation-company-profile-info-query/SKILL.md +51 -0
- package/skills/automation-digital-wallet-configure/SKILL.md +689 -0
- package/skills/automation-flow-coordinate/SKILL.md +95 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +1569 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +96 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +23 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +31 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +179 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +13 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +83 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +69 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +274 -0
- package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +192 -0
- package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +130 -0
- package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +92 -0
- package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +88 -0
- package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/start/start.md +539 -0
- package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/wait/wait.md +497 -0
- package/skills/automation-flow-coordinate/references/recipes/author/author.md +868 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +300 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +292 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +323 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +109 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +219 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +180 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +175 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +255 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +212 -0
- package/skills/automation-flow-coordinate/references/resources/variable/variable.md +171 -0
- package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +786 -0
- package/skills/automation-flow-coordinate/references/shared/end/end.md +267 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +69 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +80 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +116 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +321 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +320 -0
- package/skills/automation-flow-coordinate/references/shared/server-functions.md +597 -0
- package/skills/automation-sandbox-post-copy-config-generate/SKILL.md +21 -11
- package/skills/automation-sandbox-post-copy-config-generate/assets/config_template.json +10 -0
- package/skills/automation-sandbox-post-copy-config-generate/assets/json_schema.json +33 -1
- package/skills/automation-sandbox-post-copy-config-generate/references/configuration_catalog.md +44 -1
- package/skills/automation-sandbox-post-copy-configure/SKILL.md +132 -124
- package/skills/automation-sandbox-post-copy-configure/references/flow_activation_path.md +151 -0
- package/skills/automation-sandbox-post-copy-configure/references/scheduled_apex_path.md +55 -9
- package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +69 -0
- package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +78 -0
- package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +373 -0
- package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +273 -0
- package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +259 -0
- package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +369 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +542 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +349 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +505 -0
- package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +380 -0
- package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +567 -0
- package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +360 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +539 -0
- package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +358 -0
- package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +602 -0
- package/skills/commerce-b2b-store-configure/SKILL.md +251 -0
- package/skills/commerce-credit-memo-create/SKILL.md +139 -0
- package/skills/commerce-delivery-business-hours-configure/SKILL.md +277 -0
- package/skills/commerce-delivery-estimation-apply/SKILL.md +155 -0
- package/skills/commerce-delivery-estimation-configure/SKILL.md +377 -0
- package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +174 -0
- package/skills/commerce-estimate-bopis-query/SKILL.md +279 -0
- package/skills/commerce-estimate-delivery-date-query/SKILL.md +349 -0
- package/skills/commerce-fees-apply/SKILL.md +227 -0
- package/skills/commerce-fulfillment-routing-analyze/SKILL.md +200 -0
- package/skills/commerce-guest-buyer-create/SKILL.md +173 -0
- package/skills/commerce-location-bopis-configure/SKILL.md +378 -0
- package/skills/commerce-location-business-hours-configure/SKILL.md +235 -0
- package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +309 -0
- package/skills/commerce-location-graph-integrate/SKILL.md +131 -0
- package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +755 -0
- package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +331 -0
- package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +579 -0
- package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +626 -0
- package/skills/commerce-merchant-catalog-configure/SKILL.md +614 -0
- package/skills/commerce-merchant-extension-provider-configure/SKILL.md +368 -0
- package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +118 -0
- package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +65 -0
- package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +90 -0
- package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +72 -0
- package/skills/commerce-merchant-insights-query/SKILL.md +279 -0
- package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +656 -0
- package/skills/commerce-order-summary-change-apply/SKILL.md +375 -0
- package/skills/commerce-product-details-get/SKILL.md +363 -0
- package/skills/commerce-product-search/SKILL.md +563 -0
- package/skills/commerce-react-storefront-create/SKILL.md +350 -0
- package/skills/commerce-return-order-summary-create/SKILL.md +513 -0
- package/skills/commerce-search-relevance-analyze/SKILL.md +757 -0
- package/skills/commerce-temporary-processing-time-override-create/SKILL.md +274 -0
- package/skills/communications-initial-setup-configure/SKILL.md +630 -0
- package/skills/communications-multisite-configure/SKILL.md +571 -0
- package/skills/communications-revenue-cloud-settings-configure/SKILL.md +74 -0
- package/skills/communications-smb-fiber-catalog-create/SKILL.md +413 -0
- package/skills/communications-tmf-integrate/SKILL.md +1368 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/SKILL.md +54 -107
- package/skills/consumer-goods-promotion-bo-api-deploy/assets/set-comment-value/payloads/copy.json +1 -1
- package/skills/consumer-goods-promotion-bo-api-deploy/references/conventions-and-payload-rules.md +82 -5
- package/skills/consumer-goods-promotion-bo-api-deploy/references/generate-and-wire.md +35 -2
- package/skills/consumer-goods-promotion-bo-api-deploy/references/preflight-and-seed-queries.md +149 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/references/smoke-and-verify.md +17 -1
- package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +448 -0
- package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +269 -0
- package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +271 -0
- package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +382 -0
- package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +373 -0
- package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +389 -0
- package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +338 -0
- package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +547 -0
- package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +346 -0
- package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +1110 -0
- package/skills/crm-analytics-adoption-insights-configure/SKILL.md +224 -0
- package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +418 -0
- package/skills/crm-analytics-dashboards-configure/SKILL.md +731 -0
- package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +233 -0
- package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +184 -0
- package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +167 -0
- package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +55 -0
- package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +1350 -0
- package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +1862 -0
- package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +83 -0
- package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +81 -0
- package/skills/data360-activation-create/SKILL.md +104 -0
- package/skills/data360-activation-external-platform-get/SKILL.md +49 -0
- package/skills/data360-activation-target-create/SKILL.md +93 -0
- package/skills/data360-activation-v2-create/SKILL.md +456 -0
- package/skills/data360-audience-dmo-get/SKILL.md +38 -0
- package/skills/data360-calculated-affinity-create/SKILL.md +82 -0
- package/skills/data360-calculated-insight-create/SKILL.md +148 -0
- package/skills/data360-catalog-metadata-create/SKILL.md +183 -0
- package/skills/data360-code-extension-create/SKILL.md +115 -0
- package/skills/data360-communication-capping-create/SKILL.md +227 -0
- package/skills/data360-connection-create/SKILL.md +491 -0
- package/skills/data360-content-lens-create/SKILL.md +181 -0
- package/skills/data360-data-action-create/SKILL.md +126 -0
- package/skills/data360-data-action-target-create/SKILL.md +181 -0
- package/skills/data360-data-clean-room-create/SKILL.md +238 -0
- package/skills/data360-data-governance-create/SKILL.md +746 -0
- package/skills/data360-data-graph-create/SKILL.md +82 -0
- package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +38 -0
- package/skills/data360-data-lake-object-create/SKILL.md +207 -0
- package/skills/data360-data-model-object-catalog-get/SKILL.md +49 -0
- package/skills/data360-data-model-object-create/SKILL.md +128 -0
- package/skills/data360-data-model-object-mapping-create/SKILL.md +106 -0
- package/skills/data360-data-space-create/SKILL.md +161 -0
- package/skills/data360-data-streams-create/SKILL.md +324 -0
- package/skills/data360-engagement-signal-get/SKILL.md +38 -0
- package/skills/data360-experiment-create/SKILL.md +82 -0
- package/skills/data360-goal-based-campaign-create/SKILL.md +192 -0
- package/skills/data360-harmonization-process-history-get/SKILL.md +38 -0
- package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +84 -0
- package/skills/data360-identity-resolution-create/SKILL.md +115 -0
- package/skills/data360-intelligent-document-processing-create/SKILL.md +148 -0
- package/skills/data360-knowledge-graph-construction-create/SKILL.md +93 -0
- package/skills/data360-knowledge-graph-create/SKILL.md +216 -0
- package/skills/data360-knowledge-space-mcp-configure/SKILL.md +475 -0
- package/skills/data360-machine-learning-mcp-configure/SKILL.md +697 -0
- package/skills/data360-multi-org-mcp-configure/SKILL.md +117 -0
- package/skills/data360-secondary-index-mcp-configure/SKILL.md +126 -0
- package/skills/data360-segment-mcp-configure/SKILL.md +159 -0
- package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-engine-mcp-configure/SKILL.md +62 -0
- package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-metric-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-model-mcp-configure/SKILL.md +115 -0
- package/skills/data360-standard-mapping-mcp-configure/SKILL.md +38 -0
- package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +73 -0
- package/skills/dx-devops-conflict-resolve/SKILL.md +1 -5
- package/skills/dx-devops-pipeline-manage/SKILL.md +1 -5
- package/skills/dx-devops-project-manage/SKILL.md +1 -5
- package/skills/dx-devops-promote/SKILL.md +1 -5
- package/skills/dx-devops-request-status/SKILL.md +1 -5
- package/skills/dx-lifecycle-center/SKILL.md +120 -0
- package/skills/dx-lifecycle-center/examples/workflows.md +175 -0
- package/skills/dx-lifecycle-center/references/connect-api.md +123 -0
- package/skills/dx-lifecycle-center/references/connect-org.md +184 -0
- package/skills/dx-lifecycle-center/references/deploy.md +153 -0
- package/skills/dx-lifecycle-center/references/error-handling.md +21 -0
- package/skills/dx-lifecycle-center/references/hub-org.md +37 -0
- package/skills/dx-lifecycle-center/references/list-orgs.md +99 -0
- package/skills/dx-lifecycle-center/references/request-body.md +75 -0
- package/skills/dx-lifecycle-center/references/troubleshooting.md +31 -0
- package/skills/dx-lifecycle-center/scripts/poll-deploy-status.sh +200 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +120 -0
- package/skills/dx-org-devhub-configure/SKILL.md +1 -3
- package/skills/dx-org-shape-manage/SKILL.md +1 -5
- package/skills/dx-org-snapshot-manage/SKILL.md +1 -3
- package/skills/education-cloud-academic-calendar-generate/SKILL.md +1 -3
- package/skills/education-cloud-course-catalog-migrate/SKILL.md +1 -3
- package/skills/education-cloud-domain-configure/SKILL.md +1 -3
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -3
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -5
- package/skills/experience-afv-query/SKILL.md +234 -0
- package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +63 -0
- package/skills/experience-apex-components-configure/SKILL.md +69 -0
- package/skills/experience-apex-pages-configure/SKILL.md +107 -0
- package/skills/experience-app-home-configure/SKILL.md +76 -0
- package/skills/experience-aura-lightning-out-access-configure/SKILL.md +58 -0
- package/skills/experience-briefcase-configure/SKILL.md +287 -0
- package/skills/experience-community-flexi-page-list-create/SKILL.md +74 -0
- package/skills/experience-community-template-definition-list-query/SKILL.md +48 -0
- package/skills/experience-community-theme-definition-list-query/SKILL.md +38 -0
- package/skills/experience-content-assets-configure/SKILL.md +86 -0
- package/skills/experience-custom-domain-create/SKILL.md +727 -0
- package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +41 -0
- package/skills/experience-field-service-app-builder-configure/SKILL.md +187 -0
- package/skills/experience-flow-category-configure/SKILL.md +117 -0
- package/skills/experience-formula-configure/SKILL.md +358 -0
- package/skills/experience-global-actions-configure/SKILL.md +69 -0
- package/skills/experience-global-publisher-layouts-configure/SKILL.md +79 -0
- package/skills/experience-instrumentation-configure/SKILL.md +64 -0
- package/skills/experience-lex-engagement-configure/SKILL.md +50 -0
- package/skills/experience-lightning-bolt-open/SKILL.md +12 -0
- package/skills/experience-lightning-out-configure/SKILL.md +129 -0
- package/skills/experience-lightning-preview-configure/SKILL.md +67 -0
- package/skills/experience-lightning-types-query/SKILL.md +98 -0
- package/skills/experience-malware-scan-configure/SKILL.md +71 -0
- package/skills/experience-my-salesforce-configure/SKILL.md +126 -0
- package/skills/experience-navigation-menus-configure/SKILL.md +235 -0
- package/skills/experience-notification-types-configure/SKILL.md +206 -0
- package/skills/experience-notifications-configure/SKILL.md +75 -0
- package/skills/experience-record-discovery-query/SKILL.md +227 -0
- package/skills/experience-regenerate-previews-open/SKILL.md +94 -0
- package/skills/experience-sales-cloud-mab-configure/SKILL.md +254 -0
- package/skills/experience-schema-builder-open/SKILL.md +38 -0
- package/skills/experience-simple-record-home-configure/SKILL.md +110 -0
- package/skills/experience-static-resources-configure/SKILL.md +74 -0
- package/skills/experience-ui-bundle-2gp-deploy/SKILL.md +1 -3
- package/skills/experience-ui-bundle-features-generate/SKILL.md +1 -5
- package/skills/experience-ui-bundle-mfa-configure/SKILL.md +1 -3
- package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +23 -2
- package/skills/field-service-data-capture-form-designer-configure/SKILL.md +13 -3
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -3
- package/skills/field-service-mobile-branding-configure/SKILL.md +17 -3
- package/skills/field-service-objective-designer-configure/SKILL.md +72 -379
- package/skills/field-service-prework-brief-deployer-configure/SKILL.md +10 -537
- package/skills/field-service-scheduling-policy-designer-query/SKILL.md +65 -1093
- package/skills/{field-service-setup-orchestrator-get → field-service-setup-coordinate}/SKILL.md +18 -3
- package/skills/field-service-sobject-create-configure/SKILL.md +13 -213
- package/skills/field-service-voice-to-form-configure/SKILL.md +40 -11
- package/skills/field-service-work-plan-configure/SKILL.md +253 -0
- package/skills/field-service-work-rule-designer-configure/SKILL.md +121 -95
- package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +180 -0
- package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +196 -0
- package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +106 -0
- package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +96 -0
- package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +111 -0
- package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +250 -0
- package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +122 -0
- package/skills/fsc-digital-origination-coordinate/SKILL.md +653 -0
- package/skills/fsc-digital-origination-demo-run/SKILL.md +225 -0
- package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +112 -0
- package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +396 -0
- package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +336 -0
- package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +208 -0
- package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +375 -0
- package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +83 -0
- package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +248 -0
- package/skills/fsc-digital-origination-sample-data-create/SKILL.md +206 -0
- package/skills/fsc-document-checklist-settings-configure/SKILL.md +57 -0
- package/skills/fsc-flexible-hierarchy-configure/SKILL.md +148 -0
- package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +1430 -0
- package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +471 -0
- package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +429 -0
- package/skills/fsc-pricing-product-configurator-configure/SKILL.md +150 -0
- package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +123 -0
- package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +82 -0
- package/skills/fsc-product-act3-attributes-create/SKILL.md +249 -0
- package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +196 -0
- package/skills/fsc-product-act5-considerations-get/SKILL.md +44 -0
- package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +384 -0
- package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +144 -0
- package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +107 -0
- package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +189 -0
- package/skills/fsc-stage-management-definition-create/SKILL.md +108 -0
- package/skills/fsc-stage-management-permissions-assign/SKILL.md +143 -0
- package/skills/fsc-stage-management-transitions-configure/SKILL.md +139 -0
- package/skills/health-cloud-appt-booking-config-configure/SKILL.md +135 -0
- package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +136 -0
- package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-requests-create/SKILL.md +178 -0
- package/skills/health-cloud-initial-configure/SKILL.md +511 -0
- package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +1374 -0
- package/skills/health-cloud-provider-search-settings-configure/SKILL.md +924 -0
- package/skills/health-cloud-referral-management-coordinate/SKILL.md +513 -0
- package/skills/health-cloud-timeline-configure/SKILL.md +622 -0
- package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +135 -0
- package/skills/industries-account-score-settings-query/SKILL.md +78 -0
- package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +177 -0
- package/skills/industries-ad-product-availability-search/SKILL.md +399 -0
- package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +628 -0
- package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +73 -0
- package/skills/industries-atm-settings-starter-configure/SKILL.md +76 -0
- package/skills/industries-batch-document-ai-configure/SKILL.md +196 -0
- package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +71 -0
- package/skills/industries-branch-management-settings-configure/SKILL.md +89 -0
- package/skills/industries-bre-decision-table-access-configure/SKILL.md +367 -0
- package/skills/industries-brokerage-settings-configure/SKILL.md +41 -0
- package/skills/industries-calendar-sync-settings-configure/SKILL.md +89 -0
- package/skills/industries-care-request-settings-configure/SKILL.md +218 -0
- package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +54 -0
- package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +380 -0
- package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +216 -0
- package/skills/industries-catalog-process-intake-configure/SKILL.md +219 -0
- package/skills/industries-catalog-process-knowledge-configure/SKILL.md +153 -0
- package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +168 -0
- package/skills/industries-cds-general-settings-configure/SKILL.md +69 -0
- package/skills/industries-claim-financial-settings-configure/SKILL.md +169 -0
- package/skills/industries-clinical-data-model-settings-configure/SKILL.md +136 -0
- package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +105 -0
- package/skills/industries-collection-plan-settings-configure/SKILL.md +132 -0
- package/skills/industries-comms-service-console-settings-configure/SKILL.md +159 -0
- package/skills/industries-compliance-configure/SKILL.md +102 -0
- package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +76 -0
- package/skills/industries-contact-center-app-layout-configure/SKILL.md +88 -0
- package/skills/industries-contact-center-components-configure/SKILL.md +96 -0
- package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +95 -0
- package/skills/industries-contact-center-user-access-assign/SKILL.md +96 -0
- package/skills/industries-course-waitlist-config-configure/SKILL.md +162 -0
- package/skills/industries-crisis-center-settings-configure/SKILL.md +84 -0
- package/skills/industries-custom-object-settings-configure/SKILL.md +94 -0
- package/skills/industries-data-cloud-integration-configure/SKILL.md +88 -0
- package/skills/industries-data-space-feature-mappings-configure/SKILL.md +245 -0
- package/skills/industries-decision-matrix-builder-configure/SKILL.md +78 -0
- package/skills/industries-decision-table-hbase-configure/SKILL.md +87 -0
- package/skills/industries-decision-table-version-configure/SKILL.md +74 -0
- package/skills/industries-decision-tables-builder-configure/SKILL.md +253 -0
- package/skills/industries-decision-tables-configure/SKILL.md +439 -0
- package/skills/industries-energy-utilities-configure/SKILL.md +251 -0
- package/skills/industries-eu-cloud-multisite-configure/SKILL.md +1008 -0
- package/skills/industries-eu-new-connections-configure/SKILL.md +30 -0
- package/skills/industries-explainability-msg-template-configure/SKILL.md +135 -0
- package/skills/industries-expression-set-message-token-configure/SKILL.md +135 -0
- package/skills/industries-field-service-settings-configure/SKILL.md +82 -0
- package/skills/industries-form-framework-settings-configure/SKILL.md +30 -0
- package/skills/industries-fsc-ai-settings-configure/SKILL.md +57 -0
- package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +172 -0
- package/skills/industries-fsc-b2b-settings-configure/SKILL.md +61 -0
- package/skills/industries-fsc-insurance-settings-configure/SKILL.md +58 -0
- package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +103 -0
- package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +117 -0
- package/skills/industries-fsc-wealth-settings-configure/SKILL.md +99 -0
- package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +120 -0
- package/skills/industries-fundraising-rfm-configure/SKILL.md +128 -0
- package/skills/industries-fundraising-settings-configure/SKILL.md +145 -0
- package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +299 -0
- package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +87 -0
- package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +58 -0
- package/skills/industries-hc-score-category-settings-configure/SKILL.md +167 -0
- package/skills/industries-health-engagement-settings-configure/SKILL.md +218 -0
- package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +131 -0
- package/skills/industries-home-health-bundling-policy-create/SKILL.md +50 -0
- package/skills/industries-home-health-entity-labels-configure/SKILL.md +29 -0
- package/skills/industries-home-health-fsl-package-deploy/SKILL.md +71 -0
- package/skills/industries-home-health-fsl-settings-validate/SKILL.md +27 -0
- package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +80 -0
- package/skills/industries-home-health-guided-setup-configure/SKILL.md +836 -0
- package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +55 -0
- package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +61 -0
- package/skills/industries-home-health-licenses-assign/SKILL.md +27 -0
- package/skills/industries-home-health-operating-hours-create/SKILL.md +40 -0
- package/skills/industries-home-health-scheduling-policy-create/SKILL.md +41 -0
- package/skills/industries-home-health-service-objective-create/SKILL.md +22 -0
- package/skills/industries-home-health-skills-create/SKILL.md +31 -0
- package/skills/industries-home-health-users-create/SKILL.md +29 -0
- package/skills/industries-icm-act3-toggles-configure/SKILL.md +198 -0
- package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +361 -0
- package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +550 -0
- package/skills/industries-integrated-care-management-configure/SKILL.md +168 -0
- package/skills/industries-object-enablement-configure/SKILL.md +86 -0
- package/skills/industries-tpm-system-processing-service-configure/SKILL.md +64 -0
- package/skills/insurance-brokerage-agency-billing-configure/SKILL.md +1 -3
- package/skills/integration-apex-settings-configure/SKILL.md +61 -0
- package/skills/marketing-e360-email-archiving-configure/SKILL.md +73 -0
- package/skills/marketing-message-test/SKILL.md +1 -3
- package/skills/nonprofit-fundraising-configure/SKILL.md +240 -0
- package/skills/nonprofit-fundraising-configure/references/gotchas.md +26 -0
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +678 -0
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +35 -0
- package/skills/nonprofit-volunteer-management-model-get/SKILL.md +166 -0
- package/skills/nonprofit-volunteer-management-model-get/references/entities.md +315 -0
- package/skills/nonprofit-volunteer-management-model-get/references/relationships.md +175 -0
- package/skills/nonprofit-volunteer-management-model-get/references/themes.md +143 -0
- package/skills/nonprofit-volunteer-management-records-create/SKILL.md +121 -0
- package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +284 -0
- package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +248 -0
- package/skills/nonprofit-volunteer-management-records-create/references/review-format.md +140 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/expand-series.py +632 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +419 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_expand_series.py +690 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +421 -0
- package/skills/nonprofit-volunteer-management-structure-generate/SKILL.md +119 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/configuration-decisions.md +159 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/discovery-interview.md +137 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/edge-cases.md +48 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +75 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/plan-output.md +141 -0
- package/skills/platform-custom-field-generate/SKILL.md +1 -0
- package/skills/platform-custom-field-generate/references/advanced-picklists.md +5 -5
- package/skills/platform-custom-metadata-type-generate/SKILL.md +3 -0
- package/skills/platform-custom-object-generate/SKILL.md +4 -0
- package/skills/platform-custom-permissions-configure/SKILL.md +687 -0
- package/skills/platform-custom-setting-generate/SKILL.md +3 -0
- package/skills/platform-datamask-run/SKILL.md +1 -5
- package/skills/platform-label-workbench-import-create/SKILL.md +67 -0
- package/skills/platform-permission-set-generate/SKILL.md +3 -0
- package/skills/platform-privacy-agent-settings-configure/SKILL.md +752 -0
- package/skills/platform-salesforce-connect-adapter-generate/SKILL.md +1 -3
- package/skills/platform-sandbox-configure/SKILL.md +1 -3
- package/skills/platform-value-set-generate/SKILL.md +3 -0
- package/skills/sales-call-scoring-configure/SKILL.md +1 -5
- package/skills/service-agentforce-channel-configure/SKILL.md +1 -3
- package/skills/service-agentforce-human-escalation-configure/SKILL.md +1 -3
- package/skills/service-catalog-template-coordinate/SKILL.md +1 -3
- package/skills/service-concierge-portal-generate/SKILL.md +1 -3
- package/skills/service-email-to-case-configure/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-bundle-deploy/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-cmdb-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-discovery-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +1 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-uel-user-create/SKILL.md +1 -9
- package/skills/service-itsm-incident-mgmt-configure/SKILL.md +1 -5
- package/skills/service-itsm-incident-priority-configure/SKILL.md +1 -3
- package/skills/service-itsm-slack-itservice-configure/SKILL.md +1 -3
- package/skills/service-itsm-swarming-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-debug/SKILL.md +1 -3
- package/skills/service-itsm-teams-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itdesk-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itservice-configure/SKILL.md +1 -3
- package/skills/service-native-voice-recording-transcription-configure/SKILL.md +1 -3
- package/skills/service-omni-agent-users-create/SKILL.md +1 -3
- package/skills/service-omni-agent-work-sharing-configure/SKILL.md +1 -3
- package/skills/service-omni-attribute-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-base-settings-configure/SKILL.md +1 -3
- package/skills/service-omni-channel-inventory-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-limits-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-setup-coordinate/SKILL.md +1 -3
- package/skills/service-omni-command-center-analyze/SKILL.md +1 -3
- package/skills/service-omni-command-center-configure/SKILL.md +1 -3
- package/skills/service-omni-permission-set-assign/SKILL.md +1 -3
- package/skills/service-omni-presence-status-deploy/SKILL.md +1 -3
- package/skills/service-omni-presence-user-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-members-assign/SKILL.md +1 -3
- package/skills/service-omni-queue-routing-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-routing-flow-deploy/SKILL.md +1 -3
- package/skills/service-omni-service-channel-configure/SKILL.md +1 -3
- package/skills/service-omni-sidebar-configure/SKILL.md +1 -3
- package/skills/service-omni-skills-based-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-supervisor-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-permset-assign/SKILL.md +1 -3
- package/skills/service-omni-supervisor-surface-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-users-create/SKILL.md +1 -3
- package/skills/service-omni-work-skill-routing-configure/SKILL.md +1 -3
- package/skills/tableau-next-asset-create/README.md +0 -65
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fsc-stage-management-transitions-configure
|
|
3
|
+
parent: "digital-origination-stage-management-setup"
|
|
4
|
+
purpose: "Build the stage transition map and transition rules that run the Digital Lending Stage Management flow, then activate the transitions."
|
|
5
|
+
description: "Set up the stage transitions for Digital Lending: within the stage definition, define the allowed transitions between application form product stages (Intake to Submitted, In Review to Underwriter Approved, and so on), add a transition rule to each with a step definition of Step Type AutoTask whose FlowDefinitionName is the Digital Lending Stage Management flow (RunAsUser is optional and omitted), and activate the transitions. This is the step that makes the stage field enforce the allowed moves and fire the CDS flow after each change. Created via direct StageTransition / StgFulfillmentStepDefGrp / StgFulfillmentStepDef sObject REST, and never invents the customer's transition map."
|
|
6
|
+
metadata:
|
|
7
|
+
version: "1.0"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Digital Origination Stage Management — stage transitions
|
|
11
|
+
|
|
12
|
+
Define the allowed moves between stages and wire each to the CDS Flow. This is the step that makes the
|
|
13
|
+
`Stage` field enforce valid transitions and that triggers the `Digital Lending Stage Management` Flow
|
|
14
|
+
after each change so CDS re-computes access. This sibling operates inside the stage definition created by
|
|
15
|
+
`stage-definition` and depends on the Flow created by `apex-and-flow`.
|
|
16
|
+
|
|
17
|
+
Source: Salesforce Help "Set Up Stage Transitions for Digital Lending".
|
|
18
|
+
|
|
19
|
+
## Prerequisites this sibling depends on
|
|
20
|
+
|
|
21
|
+
- The `StageDefinition` (`1DL…`) from the `stage-definition` sibling, on `ApplicationFormProduct` / `Stage`.
|
|
22
|
+
- The active `Digital Lending Stage Management` autolaunched Flow from the `apex-and-flow` sibling — the
|
|
23
|
+
transition rule step definitions bind to it by exact name.
|
|
24
|
+
- The three decision matrices active (the Flow's Apex reads them at runtime).
|
|
25
|
+
|
|
26
|
+
## Inputs
|
|
27
|
+
|
|
28
|
+
- Target-org alias and acting admin.
|
|
29
|
+
- The transition map — which stage may move to which. The article's personal-loan example:
|
|
30
|
+
|
|
31
|
+
| From stage | Allowed transitions to |
|
|
32
|
+
|---|---|
|
|
33
|
+
| Intake | Submitted, Auto Rejected |
|
|
34
|
+
| Submitted | In Review, Need More Info, Auto Approved, Auto Rejected |
|
|
35
|
+
| In Review | Need More Info, UW Approved, UW Rejected |
|
|
36
|
+
| UW Approved | Customer Approved, Customer Rejected |
|
|
37
|
+
| Auto Approve | Customer Approved, Customer Rejected, Contract Generation |
|
|
38
|
+
| Customer Approved | Contract Generation |
|
|
39
|
+
| Contract Generation | Signature Complete |
|
|
40
|
+
|
|
41
|
+
Use the admin's transition map — the example is illustrative, not a default. The **one exception is the
|
|
42
|
+
entry transition `Intake → Submitted`**: because `Intake` is the entry stage every application starts in
|
|
43
|
+
(see `stage-definition`) and activation requires at least one transition, always define
|
|
44
|
+
`Intake → Submitted` as the baseline first transition, then layer the admin's remaining moves on top of
|
|
45
|
+
it. Do not activate the stage definition until this entry transition exists.
|
|
46
|
+
|
|
47
|
+
## Reusable operations — proven headless sObject path
|
|
48
|
+
|
|
49
|
+
**The transitions and rules are created directly via sObject REST POST — no builder UI, dispatcher
|
|
50
|
+
envelope, or Connect API is needed.** (org-verified on fsc-dop8, v63.0). All four Stage Management
|
|
51
|
+
records accept plain `POST /services/data/vXX.0/sobjects/<Entity>`:
|
|
52
|
+
|
|
53
|
+
- **`StageTransition`** — `StageDefinitionId` (REQ), `FromStageValueId` (REQ), `ToStageValueId` (REQ),
|
|
54
|
+
`Description`. The `From`/`To` ids are `StageValue` ids (`1DE…`) created by the `stage-definition`
|
|
55
|
+
sibling. A transition is what blocks invalid moves — an undefined move (e.g. Submitted → Intake) is
|
|
56
|
+
simply prevented.
|
|
57
|
+
- **`StgFulfillmentStepDefGrp`** — one group per transition: `StageDefinitionId` (REQ),
|
|
58
|
+
`ContextReferenceId` (REQ, = the `StageTransition` id — this is what binds the rule to the transition),
|
|
59
|
+
`StgFulfillmentStepDefGrpName`.
|
|
60
|
+
- **`StgFulfillmentStepDef`** — the rule that runs the Flow: `StgFulfillmentStepDefGrpId` (REQ),
|
|
61
|
+
`StgFulfillmentStepDefName` (REQ), `StgFulfillmentStepDefApiName` (REQ), `StepType`,
|
|
62
|
+
`FlowDefinitionName`.
|
|
63
|
+
|
|
64
|
+
**Field-value contract (three org-verified findings — do not repeat the earlier mistakes):**
|
|
65
|
+
|
|
66
|
+
- **`StepType = "AutoTask"`** — NOT "AutoLaunched Flow". "AutoLaunched Flow" is the *UI label*; the
|
|
67
|
+
sObject picklist value for a Flow-backed step is `AutoTask` (full picklist:
|
|
68
|
+
AutoTask/Callout/ManualTask/Milestone/Pause/StagedAssetize).
|
|
69
|
+
- **`FlowDefinitionName` is the Flow's *API name*** — `Digital_Lending_Stage_Management` (underscored),
|
|
70
|
+
not the display name `Digital Lending Stage Management`.
|
|
71
|
+
- **`RunAsUser` is OPTIONAL — omit it.** Every string value ("Admin", "AdminUser", "RunAsAdmin",
|
|
72
|
+
"Admin User") returns `400 INVALID_INPUT "Specify a valid value for Run As User"`. Omitting the field
|
|
73
|
+
creates the record cleanly. The UI's "Run As User = Admin User" is a UI-only convenience, not required
|
|
74
|
+
for the sObject write.
|
|
75
|
+
- There is **no `SequenceNumber` column** on `StgFulfillmentStepDef` ("No such column").
|
|
76
|
+
|
|
77
|
+
The Stage Management Builder
|
|
78
|
+
(`builder_industries_stagemgmt/stageManagementBuilder.app?stateDefId=<1DL id>`, wizard SOR
|
|
79
|
+
`builders/fsc-rolex/ui-industries-stage-mgmt-components`) remains available as a **UI fallback** if a
|
|
80
|
+
future org rejects the direct sObject writes, but the direct path above is proven and preferred.
|
|
81
|
+
|
|
82
|
+
## Workflow
|
|
83
|
+
|
|
84
|
+
### Step 1 — Create transitions
|
|
85
|
+
|
|
86
|
+
For each allowed move in the admin's transition map, POST a `StageTransition` with the source/target
|
|
87
|
+
`StageValue` ids (`FromStageValueId`/`ToStageValueId`), the `StageDefinitionId`, and a `Description`.
|
|
88
|
+
Only create the moves in the map — an undefined move is what blocks an invalid transition.
|
|
89
|
+
|
|
90
|
+
### Step 2 — Add transition rules (group + step per transition)
|
|
91
|
+
|
|
92
|
+
For each transition that should recompute CDS access, create the two-record rule:
|
|
93
|
+
|
|
94
|
+
1. POST a **`StgFulfillmentStepDefGrp`** with `ContextReferenceId` = the `StageTransition` id, the
|
|
95
|
+
`StageDefinitionId`, and a group name.
|
|
96
|
+
2. POST a **`StgFulfillmentStepDef`** into that group: `StgFulfillmentStepDefGrpId` = the group id,
|
|
97
|
+
`StepType = "AutoTask"`, `FlowDefinitionName = "Digital_Lending_Stage_Management"` (the Flow's API
|
|
98
|
+
name from `apex-and-flow`), plus `StgFulfillmentStepDefName` + `StgFulfillmentStepDefApiName`.
|
|
99
|
+
**Do not set `RunAsUser`** (it 400s on every value).
|
|
100
|
+
|
|
101
|
+
### Step 3 — Activate the stage definition (do this LAST, after ≥1 transition exists)
|
|
102
|
+
|
|
103
|
+
Now that at least one transition exists, activate the `StageDefinition`. **This is the ONLY point
|
|
104
|
+
activation succeeds (org-verified):** `IsActive=true` set at create time is rejected, and set before any
|
|
105
|
+
`StageTransition` exists it throws `FIELD_INTEGRITY_EXCEPTION`. Activate via the
|
|
106
|
+
`IndustriesStageDefinitions` setup op that toggles publish state (the Aura/SOAP path pins
|
|
107
|
+
`UsageType=STAGE_MANAGEMENT`); a raw `PATCH /sobjects/StageDefinition/<1DL id> {"IsActive": true}` also
|
|
108
|
+
works once ≥1 transition is present. This is why `stage-definition` deliberately leaves the definition
|
|
109
|
+
inactive and hands activation to this sibling.
|
|
110
|
+
|
|
111
|
+
### Step 4 — Confirm active
|
|
112
|
+
|
|
113
|
+
Re-read the definition and count: every intended transition has a group (matched by
|
|
114
|
+
`ContextReferenceId`) and a step bound to `Digital_Lending_Stage_Management`. Confirm the stage
|
|
115
|
+
definition/version reads `IsActive=true` on a fresh query.
|
|
116
|
+
|
|
117
|
+
## Idempotency and rollback
|
|
118
|
+
|
|
119
|
+
- Reuse existing transitions and rules that match the admin's map; do not duplicate a transition or a rule.
|
|
120
|
+
- On a mismatch (an extra or missing transition, or a rule pointing at a different Flow), present the diff
|
|
121
|
+
and stop.
|
|
122
|
+
- Rollback removes only transitions/rules created by this run and only after confirming no active
|
|
123
|
+
application depends on the transition path.
|
|
124
|
+
|
|
125
|
+
## Output contract
|
|
126
|
+
|
|
127
|
+
Return the created transitions (source → targets with their `StageTransition` ids), each transition's
|
|
128
|
+
`StgFulfillmentStepDefGrp` id, and each `StgFulfillmentStepDef` with its name, `StepType` (`AutoTask`),
|
|
129
|
+
and bound `FlowDefinitionName` (`Digital_Lending_Stage_Management`), plus a fresh read confirming the
|
|
130
|
+
stage definition/version is active and the group/step counts match the transition count.
|
|
131
|
+
|
|
132
|
+
## Definition of done
|
|
133
|
+
|
|
134
|
+
The transition map matches the admin's specification, every intended transition has a
|
|
135
|
+
`StgFulfillmentStepDefGrp` (bound by `ContextReferenceId`) and a `StgFulfillmentStepDef` whose
|
|
136
|
+
`StepType=AutoTask` step runs the `Digital_Lending_Stage_Management` Flow, and the transitions read back
|
|
137
|
+
on a fresh query with matching counts. Invalid moves are provably blocked (not defined). If the direct
|
|
138
|
+
sObject path is rejected and the builder-UI fallback is left incomplete, this sibling is partial; a
|
|
139
|
+
partial run is never reported as complete.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: health-cloud-appt-booking-config-configure
|
|
3
|
+
description: "Use this skill when users want to manage the Appointment Booking Config record (ApptBookingConfig), the parent setup record that tells Health Cloud Patient Appointment Scheduling how to reach a scheduling system. Trigger when users mention appt, booking, config, appt booking config."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Managing Appt Booking Config
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Manage the Appointment Booking Config record (ApptBookingConfig), the parent setup record that tells Health Cloud Patient Appointment Scheduling how to reach a scheduling system. Use standard sObject REST (/services/data/v67.0/sobjects/ApptBookingConfig) for describe, query, get, create, update and delete. The Intelligent Appointment Management skill relies on an active config with ApptBookingUrlConfig children for slot search and booking; this skill covers the config record itself. Only one record may have IsActive=true. To create, send DeveloperName (unique) and MasterLabel; everything else is optional. Without other values a new record is created with IsActive=false, IsSingleSourceSystem=false, CanCreateDuplicateRecord=true and Language=en_US, so send IsActive=true to make it the active config. Optional fields seen on a working configuration: NamedCredentialId and ApexClassId (to reach an external scheduling system), AssignedProviderRole, AttendanceThresholdPct, ServiceApptRecordTypeName, BestTimeSlotsDefinition and GetSlotStatusTimeout. Create the config first, then its ApptBookingUrlConfig children (see the ApptBookingUrlConfig skill). To remove, delete the children first, then the config. Requires Patient Appointment Scheduling to be on and the Health Cloud license.
|
|
13
|
+
|
|
14
|
+
## Workflow
|
|
15
|
+
|
|
16
|
+
Call describe first and build payloads from the createable fields. Before activating, query ApptBookingConfig for IsActive=true: creating or activating a second one fails with "There's already an active appointment scheduling configuration record. Deactivate it to use this one." To switch configs, set the old record IsActive to false first. GetSlotStatusTimeout, if set, must be 0 to 60,000 (milliseconds); other values fail with "Enter a Get Slot Status Timeout value from 0 through 60,000." DeveloperName must be unique. Lookups are named NamedCredentialId and ApexClassId in the REST payload and are optional. After creating the config, create its ApptBookingUrlConfig children. Delete the URL-config children before the parent: deleting a config that still has children fails with a dependency error.
|
|
17
|
+
|
|
18
|
+
## Critical Constraints
|
|
19
|
+
|
|
20
|
+
**Preconditions:**
|
|
21
|
+
|
|
22
|
+
- The user needs create, read, update and delete access to ApptBookingConfig (Customize Application permission is required to create, edit or delete). (check: `<udd:crud:ApptBookingConfig>`)
|
|
23
|
+
- Patient Appointment Scheduling must be turned on in the org, and the org must hold the Health Cloud license. (check: `Patient Appointment Scheduling enabled`)
|
|
24
|
+
- Only one ApptBookingConfig can be active at a time. Query for an existing active record before activating a new one.
|
|
25
|
+
- To reach an external scheduling system, a Named Credential for that system must exist first; an Apex class implementing the booking interface is optional.
|
|
26
|
+
|
|
27
|
+
## Operations Reference
|
|
28
|
+
|
|
29
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
30
|
+
|
|
31
|
+
### Summary
|
|
32
|
+
|
|
33
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
34
|
+
|-----------|---------|--------|------|------------|
|
|
35
|
+
| `describe` | read | — | `GET /services/data/v67.0/sobjects/ApptBookingConfig/describe` | — |
|
|
36
|
+
| `list` | read | — | `GET /services/data/v67.0/query` | — |
|
|
37
|
+
| `get-by-id` | read | — | `GET /services/data/v67.0/sobjects/ApptBookingConfig/{Id}` | `list` |
|
|
38
|
+
| `create` | write | — | `POST /services/data/v67.0/sobjects/ApptBookingConfig` | `describe` |
|
|
39
|
+
| `update` | write | — | `PATCH /services/data/v67.0/sobjects/ApptBookingConfig/{Id}` | `get-by-id` |
|
|
40
|
+
| `delete` | write | — | `DELETE /services/data/v67.0/sobjects/ApptBookingConfig/{Id}` | `get-by-id` |
|
|
41
|
+
|
|
42
|
+
### Dependency graph
|
|
43
|
+
|
|
44
|
+
```mermaid
|
|
45
|
+
graph TD
|
|
46
|
+
describe["describe (read)"]
|
|
47
|
+
list["list (read)"]
|
|
48
|
+
get_by_id["get-by-id (read)"]
|
|
49
|
+
create["create (write)"]
|
|
50
|
+
update["update (write)"]
|
|
51
|
+
delete["delete (write)"]
|
|
52
|
+
list --> get_by_id
|
|
53
|
+
describe --> create
|
|
54
|
+
get_by_id --> update
|
|
55
|
+
get_by_id --> delete
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Read operations
|
|
59
|
+
|
|
60
|
+
#### `describe`
|
|
61
|
+
|
|
62
|
+
Retrieve the ApptBookingConfig sObject describe — fields, picklist values, FLS, createable/updateable flags.
|
|
63
|
+
|
|
64
|
+
**Call:** `GET /services/data/v67.0/sobjects/ApptBookingConfig/describe`
|
|
65
|
+
|
|
66
|
+
**Output:** DescribeSObjectResult for ApptBookingConfig — use this to build the field list for list / create / update payloads.
|
|
67
|
+
|
|
68
|
+
#### `list`
|
|
69
|
+
|
|
70
|
+
List ApptBookingConfig records. Pair this with /describe first to pick field names.
|
|
71
|
+
|
|
72
|
+
**Call:** `GET /services/data/v67.0/query`
|
|
73
|
+
|
|
74
|
+
**Inputs:**
|
|
75
|
+
|
|
76
|
+
- `where` *(`String`)* — Optional SOQL WHERE clause to filter Appt Booking Config records.
|
|
77
|
+
- `limit` *(`int`)* — Optional SOQL LIMIT value.
|
|
78
|
+
- `q` *(`string`)*
|
|
79
|
+
|
|
80
|
+
**Output:** Query response with records[] of ApptBookingConfig — Id plus any SELECTed fields.
|
|
81
|
+
|
|
82
|
+
#### `get-by-id`
|
|
83
|
+
|
|
84
|
+
Retrieve a specific ApptBookingConfig record by Id.
|
|
85
|
+
|
|
86
|
+
**Call:** `GET /services/data/v67.0/sobjects/ApptBookingConfig/{Id}`
|
|
87
|
+
|
|
88
|
+
**Inputs:**
|
|
89
|
+
|
|
90
|
+
- `Id` *(`ID`)* — Id of the ApptBookingConfig record to fetch.
|
|
91
|
+
|
|
92
|
+
**Depends on:** `list`
|
|
93
|
+
|
|
94
|
+
**Output:** Single ApptBookingConfig record with all readable fields per user FLS.
|
|
95
|
+
|
|
96
|
+
### Write operations
|
|
97
|
+
|
|
98
|
+
#### `create`
|
|
99
|
+
|
|
100
|
+
Create an ApptBookingConfig record. Required: DeveloperName and MasterLabel. A new record defaults to IsActive=false, IsSingleSourceSystem=false, CanCreateDuplicateRecord=true; send IsActive=true to activate it. Only one config can be active; activating a second fails and the old one must be deactivated first. GetSlotStatusTimeout, if set, must be 0 to 60,000. Add NamedCredentialId (and optionally ApexClassId) only when integrating an external scheduling system.
|
|
101
|
+
|
|
102
|
+
**Call:** `POST /services/data/v67.0/sobjects/ApptBookingConfig`
|
|
103
|
+
|
|
104
|
+
**Inputs:**
|
|
105
|
+
|
|
106
|
+
- `body` *(`object`)* — Field/value map for the new ApptBookingConfig. Populate from /describe's createableFields list.
|
|
107
|
+
|
|
108
|
+
**Depends on:** `describe`
|
|
109
|
+
|
|
110
|
+
**Rollback:** Call delete with the returned Id to undo the create.
|
|
111
|
+
|
|
112
|
+
#### `update`
|
|
113
|
+
|
|
114
|
+
Update an existing ApptBookingConfig record. Merge-patch semantics.
|
|
115
|
+
|
|
116
|
+
**Call:** `PATCH /services/data/v67.0/sobjects/ApptBookingConfig/{Id}`
|
|
117
|
+
|
|
118
|
+
**Inputs:**
|
|
119
|
+
|
|
120
|
+
- `Id` *(`ID`)* — Id of the ApptBookingConfig to update.
|
|
121
|
+
- `body` *(`object`)* — Partial field/value map — only include fields you want to change.
|
|
122
|
+
|
|
123
|
+
**Depends on:** `get-by-id`
|
|
124
|
+
|
|
125
|
+
#### `delete`
|
|
126
|
+
|
|
127
|
+
Delete an ApptBookingConfig record. Delete all of its ApptBookingUrlConfig children first; the parent cannot be deleted while children exist. Deleting the active config leaves no active scheduling configuration until a new one is created.
|
|
128
|
+
|
|
129
|
+
**Call:** `DELETE /services/data/v67.0/sobjects/ApptBookingConfig/{Id}`
|
|
130
|
+
|
|
131
|
+
**Inputs:**
|
|
132
|
+
|
|
133
|
+
- `Id` *(`ID`)* — Id of the ApptBookingConfig to delete.
|
|
134
|
+
|
|
135
|
+
**Depends on:** `get-by-id`
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: health-cloud-appt-booking-url-config-configure
|
|
3
|
+
description: "Use this skill when users want to manage Appointment Booking URL Config records (ApptBookingUrlConfig, use this exact object name), the child records of an Appointment Booking Config that tell Health Cloud Patient Appointment Scheduling which endpoint to call for each scheduling operation. Trigger when users mention appt, booking, url, config, appt booking url config."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Managing Appt Booking Url Config
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Manage Appointment Booking URL Config records (ApptBookingUrlConfig, use this exact object name), the child records of an Appointment Booking Config that tell Health Cloud Patient Appointment Scheduling which endpoint to call for each scheduling operation. Use standard sObject REST (/services/data/v67.0/sobjects/ApptBookingUrlConfig). Required to create: DeveloperName, MasterLabel, ApptBookingConfigId (the parent Id) and EndpointName, which must be one of FIND_SLOTS, GET_SLOT_STATUS, CREATE_APPOINTMENT, CANCEL_APPOINTMENT, GET_APPOINTMENT or CREATE_PATIENT. UrlPath (up to 80 characters, the path appended to the base URL) and AdditionalHeaders are optional and used for an external scheduling system. The platform accepts more than one row for the same EndpointName under a config, so create one row per endpoint and check existing rows first. Create the parent ApptBookingConfig first (see the ApptBookingConfig skill). Requires Patient Appointment Scheduling to be on and the Health Cloud license.
|
|
13
|
+
|
|
14
|
+
## Workflow
|
|
15
|
+
|
|
16
|
+
Call describe first, then query existing ApptBookingUrlConfig rows for the parent so you do not create a second row for an endpoint that already has one. EndpointName is a restricted picklist: any other value fails with a bad-value error. ApptBookingConfigId and EndpointName are required. UrlPath longer than 80 characters is rejected. Delete the URL-config rows before deleting their parent ApptBookingConfig.
|
|
17
|
+
|
|
18
|
+
## Critical Constraints
|
|
19
|
+
|
|
20
|
+
**Preconditions:**
|
|
21
|
+
|
|
22
|
+
- The user needs create, read, update and delete access to ApptBookingUrlConfig (Customize Application permission is required to create, edit or delete). (check: `<udd:crud:ApptBookingUrlConfig>`)
|
|
23
|
+
- Patient Appointment Scheduling must be turned on in the org, and the org must hold the Health Cloud license. (check: `Patient Appointment Scheduling enabled`)
|
|
24
|
+
- The parent ApptBookingConfig record must already exist; its Id is required as ApptBookingConfigId.
|
|
25
|
+
|
|
26
|
+
## Operations Reference
|
|
27
|
+
|
|
28
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
29
|
+
|
|
30
|
+
### Summary
|
|
31
|
+
|
|
32
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
33
|
+
|-----------|---------|--------|------|------------|
|
|
34
|
+
| `describe` | read | — | `GET /services/data/v67.0/sobjects/ApptBookingUrlConfig/describe` | — |
|
|
35
|
+
| `list` | read | — | `GET /services/data/v67.0/query` | — |
|
|
36
|
+
| `get-by-id` | read | — | `GET /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}` | `list` |
|
|
37
|
+
| `create` | write | — | `POST /services/data/v67.0/sobjects/ApptBookingUrlConfig` | `describe` |
|
|
38
|
+
| `update` | write | — | `PATCH /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}` | `get-by-id` |
|
|
39
|
+
| `delete` | write | — | `DELETE /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}` | `get-by-id` |
|
|
40
|
+
|
|
41
|
+
### Dependency graph
|
|
42
|
+
|
|
43
|
+
```mermaid
|
|
44
|
+
graph TD
|
|
45
|
+
describe["describe (read)"]
|
|
46
|
+
list["list (read)"]
|
|
47
|
+
get_by_id["get-by-id (read)"]
|
|
48
|
+
create["create (write)"]
|
|
49
|
+
update["update (write)"]
|
|
50
|
+
delete["delete (write)"]
|
|
51
|
+
list --> get_by_id
|
|
52
|
+
describe --> create
|
|
53
|
+
get_by_id --> update
|
|
54
|
+
get_by_id --> delete
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Read operations
|
|
58
|
+
|
|
59
|
+
#### `describe`
|
|
60
|
+
|
|
61
|
+
Retrieve the ApptBookingUrlConfig sObject describe — fields, picklist values, FLS, createable/updateable flags.
|
|
62
|
+
|
|
63
|
+
**Call:** `GET /services/data/v67.0/sobjects/ApptBookingUrlConfig/describe`
|
|
64
|
+
|
|
65
|
+
**Output:** DescribeSObjectResult — `fields[]` (each with name, type, createable, updateable, nillable, picklistValues), `recordTypeInfos[]`, `childRelationships[]`, `keyPrefix: 0mI`, `feedEnabled`, `searchable`, plus FLS flags. Drives field selection for list / create / update.
|
|
66
|
+
|
|
67
|
+
#### `list`
|
|
68
|
+
|
|
69
|
+
List via SOQL. SELECT only FLS-readable fields — others silently omit the row from results. Run /describe first for the field set.
|
|
70
|
+
|
|
71
|
+
**Call:** `GET /services/data/v67.0/query`
|
|
72
|
+
|
|
73
|
+
**Inputs:**
|
|
74
|
+
|
|
75
|
+
- `where` *(`String`)* — Optional SOQL WHERE clause to filter Appt Booking Url Config records.
|
|
76
|
+
- `limit` *(`int`)* — Optional SOQL LIMIT value.
|
|
77
|
+
- `q` *(`string`)*
|
|
78
|
+
|
|
79
|
+
**Output:** Query response with records[] of ApptBookingUrlConfig — Id plus any SELECTed fields.
|
|
80
|
+
|
|
81
|
+
#### `get-by-id`
|
|
82
|
+
|
|
83
|
+
Retrieve a specific ApptBookingUrlConfig record by Id.
|
|
84
|
+
|
|
85
|
+
**Call:** `GET /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}`
|
|
86
|
+
|
|
87
|
+
**Inputs:**
|
|
88
|
+
|
|
89
|
+
- `Id` *(`ID`)* — Id of the ApptBookingUrlConfig record to fetch.
|
|
90
|
+
|
|
91
|
+
**Depends on:** `list`
|
|
92
|
+
|
|
93
|
+
**Output:** Single ApptBookingUrlConfig record with all readable fields per user FLS.
|
|
94
|
+
|
|
95
|
+
### Write operations
|
|
96
|
+
|
|
97
|
+
#### `create`
|
|
98
|
+
|
|
99
|
+
Create an ApptBookingUrlConfig record for one endpoint of a config. Required: DeveloperName, MasterLabel, ApptBookingConfigId and EndpointName (FIND_SLOTS, GET_SLOT_STATUS, CREATE_APPOINTMENT, CANCEL_APPOINTMENT, GET_APPOINTMENT or CREATE_PATIENT). UrlPath (up to 80 characters) and AdditionalHeaders are optional. Check for an existing row for the endpoint first, because duplicates are accepted.
|
|
100
|
+
|
|
101
|
+
**Call:** `POST /services/data/v67.0/sobjects/ApptBookingUrlConfig`
|
|
102
|
+
|
|
103
|
+
**Inputs:**
|
|
104
|
+
|
|
105
|
+
- `body` *(`object`)* — Field/value map for the new ApptBookingUrlConfig. Populate from /describe's createableFields list.
|
|
106
|
+
|
|
107
|
+
**Depends on:** `describe`
|
|
108
|
+
|
|
109
|
+
**Rollback:** Call delete with the returned Id to undo the create.
|
|
110
|
+
|
|
111
|
+
#### `update`
|
|
112
|
+
|
|
113
|
+
Update an existing ApptBookingUrlConfig record. Merge-patch semantics.
|
|
114
|
+
|
|
115
|
+
**Call:** `PATCH /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}`
|
|
116
|
+
|
|
117
|
+
**Inputs:**
|
|
118
|
+
|
|
119
|
+
- `Id` *(`ID`)* — Id of the ApptBookingUrlConfig to update.
|
|
120
|
+
- `body` *(`object`)* — Partial field/value map — only include fields you want to change.
|
|
121
|
+
|
|
122
|
+
**Depends on:** `get-by-id`
|
|
123
|
+
|
|
124
|
+
#### `delete`
|
|
125
|
+
|
|
126
|
+
Delete an ApptBookingUrlConfig record. Deleting a FIND_SLOTS row removes the slot-search endpoint for its config; delete all rows before deleting the parent ApptBookingConfig.
|
|
127
|
+
|
|
128
|
+
**Call:** `DELETE /services/data/v67.0/sobjects/ApptBookingUrlConfig/{Id}`
|
|
129
|
+
|
|
130
|
+
**Inputs:**
|
|
131
|
+
|
|
132
|
+
- `Id` *(`ID`)* — Id of the ApptBookingUrlConfig to delete.
|
|
133
|
+
|
|
134
|
+
**Depends on:** `get-by-id`
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: health-cloud-care-provider-affl-role-config-configure
|
|
3
|
+
description: "Use this skill when users want to manage the Care Provider Affiliation Role Config (CareProviderAfflRoleConfig) with standard sObject REST (/services/data/v67.0/sobjects/CareProviderAfflRoleConfig). Trigger when users mention care, provider, affl, role, config, care provider affl role config."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Managing Care Provider Affl Role Config
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Manage the Care Provider Affiliation Role Config (CareProviderAfflRoleConfig) with standard sObject REST (/services/data/v67.0/sobjects/CareProviderAfflRoleConfig). It sets ProviderRole, the role value Health Cloud uses for hospital-affiliation links created through the Provider API; the Provider Search More Details view shows a hospital affiliation only when the link's role matches it. Required to create: MasterLabel and DeveloperName (unique). ProviderRole (text, up to 255 characters) and AffiliationType are optional on create, but set both: AffiliationType is a restricted picklist with the single value HospitalAffiliation. A value of AffiliationType can be used by only one record, so a second HospitalAffiliation record fails with a duplicate-value error on create and on update; records with AffiliationType left blank are not limited. To change the role, update the existing HospitalAffiliation record rather than creating another. Set the role before creating providers, because existing affiliations may not be updated when the role changes. It is independent of CareProviderSearchConfig.
|
|
13
|
+
|
|
14
|
+
## Workflow
|
|
15
|
+
|
|
16
|
+
Query for an existing record with AffiliationType HospitalAffiliation first. If one exists, PATCH its ProviderRole; creating or updating a second record to HospitalAffiliation fails with DUPLICATE_VALUE. The only allowed AffiliationType value is HospitalAffiliation; any other value is rejected as a bad restricted-picklist value. ProviderRole longer than 255 characters is rejected. Set the role before provider data is created through the Provider API. This record does not choose which roles are searchable; it defines the single role value used for hospital affiliations.
|
|
17
|
+
|
|
18
|
+
## Critical Constraints
|
|
19
|
+
|
|
20
|
+
**Preconditions:**
|
|
21
|
+
|
|
22
|
+
- Provider Search must be enabled in the org and the user must have Provider Search access. (check: `Provider Search enabled`)
|
|
23
|
+
- At most one record can have AffiliationType HospitalAffiliation; update the existing record instead of creating another.
|
|
24
|
+
|
|
25
|
+
## Operations Reference
|
|
26
|
+
|
|
27
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
28
|
+
|
|
29
|
+
### Summary
|
|
30
|
+
|
|
31
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
32
|
+
|-----------|---------|--------|------|------------|
|
|
33
|
+
| `describe` | read | — | `GET /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/describe` | — |
|
|
34
|
+
| `list` | read | — | `GET /services/data/v67.0/query` | `describe` |
|
|
35
|
+
| `get-by-id` | read | — | `GET /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}` | `list` |
|
|
36
|
+
| `create` | write | — | `POST /services/data/v67.0/sobjects/CareProviderAfflRoleConfig` | `describe` |
|
|
37
|
+
| `update` | write | — | `PATCH /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}` | `get-by-id` |
|
|
38
|
+
| `delete` | write | — | `DELETE /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}` | `get-by-id` |
|
|
39
|
+
|
|
40
|
+
### Dependency graph
|
|
41
|
+
|
|
42
|
+
```mermaid
|
|
43
|
+
graph TD
|
|
44
|
+
describe["describe (read)"]
|
|
45
|
+
list["list (read)"]
|
|
46
|
+
get_by_id["get-by-id (read)"]
|
|
47
|
+
create["create (write)"]
|
|
48
|
+
update["update (write)"]
|
|
49
|
+
delete["delete (write)"]
|
|
50
|
+
describe --> list
|
|
51
|
+
list --> get_by_id
|
|
52
|
+
describe --> create
|
|
53
|
+
get_by_id --> update
|
|
54
|
+
get_by_id --> delete
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Read operations
|
|
58
|
+
|
|
59
|
+
#### `describe`
|
|
60
|
+
|
|
61
|
+
Retrieve the CareProviderAfflRoleConfig sObject describe — fields, picklist values, FLS, createable/updateable flags.
|
|
62
|
+
|
|
63
|
+
**Call:** `GET /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/describe`
|
|
64
|
+
|
|
65
|
+
**Output:** DescribeSObjectResult for CareProviderAfflRoleConfig — use this to build the field list for list / create / update payloads.
|
|
66
|
+
|
|
67
|
+
#### `list`
|
|
68
|
+
|
|
69
|
+
List CareProviderAfflRoleConfig records. Pair this with /describe first to pick field names.
|
|
70
|
+
|
|
71
|
+
**Call:** `GET /services/data/v67.0/query`
|
|
72
|
+
|
|
73
|
+
**Inputs:**
|
|
74
|
+
|
|
75
|
+
- `where` *(`String`)* — Optional SOQL WHERE clause to filter Care Provider Affl Role Config records.
|
|
76
|
+
- `limit` *(`int`)* — Optional SOQL LIMIT value.
|
|
77
|
+
- `q` *(`string`)*
|
|
78
|
+
|
|
79
|
+
**Depends on:** `describe`
|
|
80
|
+
|
|
81
|
+
**Output:** Query response with records[] of CareProviderAfflRoleConfig — Id plus any SELECTed fields.
|
|
82
|
+
|
|
83
|
+
#### `get-by-id`
|
|
84
|
+
|
|
85
|
+
Retrieve a specific CareProviderAfflRoleConfig record by Id.
|
|
86
|
+
|
|
87
|
+
**Call:** `GET /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}`
|
|
88
|
+
|
|
89
|
+
**Inputs:**
|
|
90
|
+
|
|
91
|
+
- `Id` *(`ID`)* — Id of the CareProviderAfflRoleConfig record to fetch.
|
|
92
|
+
|
|
93
|
+
**Depends on:** `list`
|
|
94
|
+
|
|
95
|
+
**Output:** Single CareProviderAfflRoleConfig record with all readable fields per user FLS.
|
|
96
|
+
|
|
97
|
+
### Write operations
|
|
98
|
+
|
|
99
|
+
#### `create`
|
|
100
|
+
|
|
101
|
+
Create the Care Provider Affiliation Role Config record. Required: MasterLabel and DeveloperName. Also send ProviderRole and AffiliationType=HospitalAffiliation (both optional on create, but the HospitalAffiliation record is the one that sets the role). Only one record can hold AffiliationType HospitalAffiliation; if one already exists, update it instead.
|
|
102
|
+
|
|
103
|
+
**Call:** `POST /services/data/v67.0/sobjects/CareProviderAfflRoleConfig`
|
|
104
|
+
|
|
105
|
+
**Inputs:**
|
|
106
|
+
|
|
107
|
+
- `body` *(`object`)* — Field/value map for the new CareProviderAfflRoleConfig. Populate from /describe's createableFields list.
|
|
108
|
+
|
|
109
|
+
**Depends on:** `describe`
|
|
110
|
+
|
|
111
|
+
**Rollback:** Call delete with the returned Id to undo the create.
|
|
112
|
+
|
|
113
|
+
#### `update`
|
|
114
|
+
|
|
115
|
+
Update an existing CareProviderAfflRoleConfig record. Merge-patch semantics — only include fields you want to change. The mutable config columns are ProviderRole and AffiliationType; standard Setup audit fields are system-managed.
|
|
116
|
+
|
|
117
|
+
**Call:** `PATCH /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}`
|
|
118
|
+
|
|
119
|
+
**Inputs:**
|
|
120
|
+
|
|
121
|
+
- `Id` *(`ID`)* — Id of the CareProviderAfflRoleConfig to update.
|
|
122
|
+
- `body` *(`object`)* — Partial field/value map — only include fields you want to change.
|
|
123
|
+
|
|
124
|
+
**Depends on:** `get-by-id`
|
|
125
|
+
|
|
126
|
+
#### `delete`
|
|
127
|
+
|
|
128
|
+
Delete a CareProviderAfflRoleConfig record.
|
|
129
|
+
|
|
130
|
+
**Call:** `DELETE /services/data/v67.0/sobjects/CareProviderAfflRoleConfig/{Id}`
|
|
131
|
+
|
|
132
|
+
**Inputs:**
|
|
133
|
+
|
|
134
|
+
- `Id` *(`ID`)* — Id of the CareProviderAfflRoleConfig to delete.
|
|
135
|
+
|
|
136
|
+
**Depends on:** `get-by-id`
|