@salesforce/afv-skills 1.65.0 → 1.65.1
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/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
- package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
- package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
- package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
- package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
- package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
- package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
- package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
- package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
- package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
- package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
- package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
- package/skills/automation-company-profile-info-query/SKILL.md +0 -51
- package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
- package/skills/automation-flow-coordinate/SKILL.md +0 -95
- package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
- package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
- package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
- package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
- package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
- package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
- package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
- package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
- package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
- package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
- package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
- package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
- package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
- package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
- package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
- package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
- package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
- package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
- package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
- package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
- package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
- package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
- package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
- package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
- package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
- package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
- package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
- package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
- package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
- package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
- package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
- package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
- package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
- package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
- package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
- package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
- package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
- package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
- package/skills/commerce-credit-memo-create/SKILL.md +0 -139
- package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
- package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
- package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
- package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
- package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
- package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
- package/skills/commerce-fees-apply/SKILL.md +0 -227
- package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
- package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
- package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
- package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
- package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
- package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
- package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
- package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
- package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
- package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
- package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
- package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
- package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
- package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
- package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
- package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
- package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
- package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
- package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
- package/skills/commerce-product-details-get/SKILL.md +0 -363
- package/skills/commerce-product-search/SKILL.md +0 -563
- package/skills/commerce-react-storefront-create/SKILL.md +0 -350
- package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
- package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
- package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
- package/skills/communications-initial-setup-configure/SKILL.md +0 -630
- package/skills/communications-multisite-configure/SKILL.md +0 -571
- package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
- package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
- package/skills/communications-tmf-integrate/SKILL.md +0 -1368
- package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
- package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
- package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
- package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
- package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
- package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
- package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
- package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
- package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
- package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
- package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
- package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
- package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
- package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
- package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
- package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
- package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
- package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
- package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
- package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
- package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
- package/skills/data360-activation-create/SKILL.md +0 -104
- package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
- package/skills/data360-activation-target-create/SKILL.md +0 -93
- package/skills/data360-activation-v2-create/SKILL.md +0 -456
- package/skills/data360-audience-dmo-get/SKILL.md +0 -38
- package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
- package/skills/data360-calculated-insight-create/SKILL.md +0 -148
- package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
- package/skills/data360-code-extension-create/SKILL.md +0 -115
- package/skills/data360-communication-capping-create/SKILL.md +0 -227
- package/skills/data360-connection-create/SKILL.md +0 -491
- package/skills/data360-content-lens-create/SKILL.md +0 -181
- package/skills/data360-data-action-create/SKILL.md +0 -126
- package/skills/data360-data-action-target-create/SKILL.md +0 -181
- package/skills/data360-data-clean-room-create/SKILL.md +0 -238
- package/skills/data360-data-governance-create/SKILL.md +0 -746
- package/skills/data360-data-graph-create/SKILL.md +0 -82
- package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
- package/skills/data360-data-lake-object-create/SKILL.md +0 -207
- package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
- package/skills/data360-data-model-object-create/SKILL.md +0 -128
- package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
- package/skills/data360-data-space-create/SKILL.md +0 -161
- package/skills/data360-data-streams-create/SKILL.md +0 -324
- package/skills/data360-engagement-signal-get/SKILL.md +0 -38
- package/skills/data360-experiment-create/SKILL.md +0 -82
- package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
- package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
- package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
- package/skills/data360-identity-resolution-create/SKILL.md +0 -115
- package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
- package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
- package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
- package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
- package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
- package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
- package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
- package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
- package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
- package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
- package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
- package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
- package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
- package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
- package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
- package/skills/experience-afv-query/SKILL.md +0 -234
- package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
- package/skills/experience-apex-components-configure/SKILL.md +0 -69
- package/skills/experience-apex-pages-configure/SKILL.md +0 -107
- package/skills/experience-app-home-configure/SKILL.md +0 -76
- package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
- package/skills/experience-briefcase-configure/SKILL.md +0 -287
- package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
- package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
- package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
- package/skills/experience-content-assets-configure/SKILL.md +0 -86
- package/skills/experience-custom-domain-create/SKILL.md +0 -727
- package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
- package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
- package/skills/experience-flow-category-configure/SKILL.md +0 -117
- package/skills/experience-formula-configure/SKILL.md +0 -358
- package/skills/experience-global-actions-configure/SKILL.md +0 -69
- package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
- package/skills/experience-instrumentation-configure/SKILL.md +0 -64
- package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
- package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
- package/skills/experience-lightning-out-configure/SKILL.md +0 -129
- package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
- package/skills/experience-lightning-types-query/SKILL.md +0 -98
- package/skills/experience-malware-scan-configure/SKILL.md +0 -71
- package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
- package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
- package/skills/experience-notification-types-configure/SKILL.md +0 -206
- package/skills/experience-notifications-configure/SKILL.md +0 -75
- package/skills/experience-record-discovery-query/SKILL.md +0 -227
- package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
- package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
- package/skills/experience-schema-builder-open/SKILL.md +0 -38
- package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
- package/skills/experience-static-resources-configure/SKILL.md +0 -74
- package/skills/field-service-setup-coordinate/SKILL.md +0 -62
- package/skills/field-service-work-plan-configure/SKILL.md +0 -253
- package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
- package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
- package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
- package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
- package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
- package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
- package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
- package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
- package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
- package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
- package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
- package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
- package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
- package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
- package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
- package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
- package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
- package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
- package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
- package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
- package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
- package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
- package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
- package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
- package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
- package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
- package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
- package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
- package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
- package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
- package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
- package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
- package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
- package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
- package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
- package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
- package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
- package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
- package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
- package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
- package/skills/health-cloud-initial-configure/SKILL.md +0 -511
- package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
- package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
- package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
- package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
- package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
- package/skills/industries-account-score-settings-query/SKILL.md +0 -78
- package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
- package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
- package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
- package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
- package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
- package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
- package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
- package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
- package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
- package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
- package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
- package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
- package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
- package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
- package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
- package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
- package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
- package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
- package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
- package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
- package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
- package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
- package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
- package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
- package/skills/industries-compliance-configure/SKILL.md +0 -102
- package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
- package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
- package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
- package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
- package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
- package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
- package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
- package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
- package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
- package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
- package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
- package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
- package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
- package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
- package/skills/industries-decision-tables-configure/SKILL.md +0 -439
- package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
- package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
- package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
- package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
- package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
- package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
- package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
- package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
- package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
- package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
- package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
- package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
- package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
- package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
- package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
- package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
- package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
- package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
- package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
- package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
- package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
- package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
- package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
- package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
- package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
- package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
- package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
- package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
- package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
- package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
- package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
- package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
- package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
- package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
- package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
- package/skills/industries-home-health-skills-create/SKILL.md +0 -31
- package/skills/industries-home-health-users-create/SKILL.md +0 -29
- package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
- package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
- package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
- package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
- package/skills/industries-object-enablement-configure/SKILL.md +0 -86
- package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
- package/skills/integration-apex-settings-configure/SKILL.md +0 -61
- package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
- package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
- package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
- package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fsc-stage-management-decision-matrices-create
|
|
3
|
-
parent: "digital-origination-stage-management-setup"
|
|
4
|
-
purpose: "Create and activate the three stage-management decision matrices that map an application form product stage to CDS access, applicant visible status, and application form stage."
|
|
5
|
-
description: "Create and activate the three Business Rules Engine decision matrices that drive Compliant Data Sharing for Stage Management: HomeLoan_CDS_Config (stage to participant access levels), AFPStage_To_ApplicantVisibleStatus (stage to the applicant-facing visible status), and AFPStage_To_AFStage (application form product stage to the parent application form stage). All three are Standard decision matrices keyed on the ApplicationFormProductStage input with Text columns. Reuses the shared digital-origination-bre-setup decision-matrix-foundation machinery (a CalculationMatrix sObject with Type set to Standard, MD5-hash rows, and activate-dmversion). Never invents the customer's stage values or access policy."
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.0"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Digital Origination Stage Management — decision matrices
|
|
11
|
-
|
|
12
|
-
Build the three decision matrices the CDS Apex reads on every stage transition. Each is keyed on the new
|
|
13
|
-
`ApplicationFormProductStage` value and returns the decisions that drive access and status. This sibling
|
|
14
|
-
owns the three matrices' column and row contracts; it delegates the actual create/populate/activate
|
|
15
|
-
mechanics to the shared decision-matrix foundation.
|
|
16
|
-
|
|
17
|
-
Source: Salesforce Help "Create Decision Matrix for Digital Lending" (stage management). Prerequisite:
|
|
18
|
-
Business Rules Engine is set up and Context Service is enabled (the `permissions` sibling confirms this).
|
|
19
|
-
|
|
20
|
-
## Reuse the shared foundation — do not re-derive the mechanics
|
|
21
|
-
|
|
22
|
-
These are the same Business Rules Engine decision matrices `digital-origination-bre-setup` builds. Delegate
|
|
23
|
-
the create/columns/rows/activate lifecycle to the shared sibling SOR
|
|
24
|
-
`fsc-mandalorians/digital-origination-bre-setup-decision-matrix-foundation`, which owns the org-verified
|
|
25
|
-
recipe:
|
|
26
|
-
|
|
27
|
-
- The matrix is a **`CalculationMatrix`** sObject (key prefix `0lI`), **not** `DecisionMatrixDefinition`.
|
|
28
|
-
- Immediately after insert, PATCH **`Type = "Standard"`** — a null `Type` makes the derived version
|
|
29
|
-
`MatrixType` null and the runtime lookup throws "Unsupported Matrix type null" (surfaced as "no output
|
|
30
|
-
for the specified input").
|
|
31
|
-
- Columns via the BRE Taurus Connect API (`post-decision-matrix-columns`), which auto-creates version 1.
|
|
32
|
-
All columns here are `Text` — no `NumberRange` banding is needed.
|
|
33
|
-
- Rows by direct `CalculationMatrixRow` sObject insert with the engine's MD5-hash `Name` (over the input
|
|
34
|
-
columns only), into a draft version (`IsEnabled=false`).
|
|
35
|
-
- Activate via `activate-dmversion`, then prove with a live
|
|
36
|
-
`POST /connect/business-rules/decision-matrices/{Name}` lookup that returns the expected output.
|
|
37
|
-
|
|
38
|
-
Pass each matrix's exact Name, its column contract, and its rows to the foundation sibling. All three
|
|
39
|
-
matrices share the single input column `ApplicationFormProductStage` (`Input`, `Text`).
|
|
40
|
-
|
|
41
|
-
## Matrix 1 — `HomeLoan_CDS_Config`
|
|
42
|
-
|
|
43
|
-
Maps a stage to the participant access each side gets. Columns:
|
|
44
|
-
|
|
45
|
-
| Column (apiName) | columnType | dataType |
|
|
46
|
-
|---|---|---|
|
|
47
|
-
| `ApplicationFormProductStage` | `Input` | `Text` |
|
|
48
|
-
| `Underwriter_Access` | `Output` | `Text` |
|
|
49
|
-
| `Applicant_Agent_Access` | `Output` | `Text` |
|
|
50
|
-
|
|
51
|
-
Rows: one per stage the admin defined. Each output cell is a comma-separated list of participant-role API
|
|
52
|
-
names (must match the roles the `compliant-data-sharing` sibling created), e.g. `Applicant_Agent_Access`
|
|
53
|
-
= `ApplicationFormRW, ApplicationFormProductRW, PartyProfileRW` and `Underwriter_Access` =
|
|
54
|
-
`ApplicationFormNoAccess, ApplicationFormProductNoAccess, PartyProfileNoAccess` at Intake. The article's
|
|
55
|
-
example (bankers RW / underwriters NoAccess at Intake; the reverse at Contract Generation; underwriters
|
|
56
|
-
NoAccess at Auto Approved/Auto Rejected) is illustrative — use the admin's approved access policy.
|
|
57
|
-
|
|
58
|
-
## Matrix 2 — `AFPStage_To_ApplicantVisibleStatus`
|
|
59
|
-
|
|
60
|
-
Maps a stage to the applicant-facing status shown on the record. Columns:
|
|
61
|
-
|
|
62
|
-
| Column (apiName) | columnType | dataType |
|
|
63
|
-
|---|---|---|
|
|
64
|
-
| `ApplicationFormProductStage` | `Input` | `Text` |
|
|
65
|
-
| `ApplicantVisibleStatus` | `Output` | `Text` |
|
|
66
|
-
|
|
67
|
-
Rows map each stage to its applicant-visible label (article examples: Book to Core → Loan Booked; the
|
|
68
|
-
Rejected stages → Rejected; the Approved stages → Approved; In Review → In Review; Submitted →
|
|
69
|
-
Submitted). Use the admin's values.
|
|
70
|
-
|
|
71
|
-
## Matrix 3 — `AFPStage_To_AFStage`
|
|
72
|
-
|
|
73
|
-
Maps the application-form-product stage to the parent application-form stage. Columns:
|
|
74
|
-
|
|
75
|
-
| Column (apiName) | columnType | dataType |
|
|
76
|
-
|---|---|---|
|
|
77
|
-
| `ApplicationFormProductStage` | `Input` | `Text` |
|
|
78
|
-
| `ApplicationFormStage` | `Output` | `Text` |
|
|
79
|
-
|
|
80
|
-
Rows roll product stages up to the coarser form stages (article examples: Signature Complete / Awaiting
|
|
81
|
-
Signature / Contract Generation → Closing; the Approved/Rejected stages → Decision; Need More Info / In
|
|
82
|
-
Review / Submitted → Submitted; Intake → Intake; Book to Core → Book to Core). Use the admin's values.
|
|
83
|
-
|
|
84
|
-
## Ordering and idempotency
|
|
85
|
-
|
|
86
|
-
- The input token in every row's `InputData` is the stage string (`{"ApplicationFormProductStage":"Intake"}`);
|
|
87
|
-
the MD5-hash `Name` is computed over that input column only (delegated to the foundation sibling).
|
|
88
|
-
- Build all three matrices; each is independent but all share the same input column name.
|
|
89
|
-
- Reuse an exact-match matrix (same Name, columns, and rows) rather than creating a duplicate. On a shape
|
|
90
|
-
mismatch, present the diff and stop.
|
|
91
|
-
- The output tokens must line up with the artifacts they name — the role lists in `HomeLoan_CDS_Config`
|
|
92
|
-
must be roles the `compliant-data-sharing` sibling created, and the stage/status values must match the
|
|
93
|
-
`ApplicationFormProduct.Stage` picklist and the applicant-status field. Cross-check before activating.
|
|
94
|
-
|
|
95
|
-
## Output contract
|
|
96
|
-
|
|
97
|
-
For each of the three matrices return the Name, `CalculationMatrix` Id (`0lI…`),
|
|
98
|
-
`CalculationMatrixVersion` Id (`0lN…`), the active window (StartDateTime set, EndDateTime null), the
|
|
99
|
-
verified columns and rows, and a live BRE lookup result proving the matrix evaluates for a representative
|
|
100
|
-
stage.
|
|
101
|
-
|
|
102
|
-
## Definition of done
|
|
103
|
-
|
|
104
|
-
All three matrices (`HomeLoan_CDS_Config`, `AFPStage_To_ApplicantVisibleStatus`, `AFPStage_To_AFStage`)
|
|
105
|
-
exist as `CalculationMatrix` records with `Type="Standard"`, carry the admin's stage rows, read active on
|
|
106
|
-
a fresh read, and each returns its expected output from a live BRE lookup. A matrix that is Active but
|
|
107
|
-
whose lookup returns "no output" is NOT done. A partial run is never reported as complete.
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fsc-stage-management-definition-assignments-create
|
|
3
|
-
parent: "digital-origination-stage-management-setup"
|
|
4
|
-
purpose: "Create and activate a Stage Definition Assignment rule group that binds the reference object (+ optional record type) to the active default stage definition, with optional priority-ordered criteria rules that route records to different definitions."
|
|
5
|
-
description: "REQUIRED final step of the Digital Lending stage-management journey. After the stage definition and transitions are active, always create and activate a StgAssignmentRuleGrp that binds the reference object (ApplicationFormProduct) — optionally scoped to a record type — to the active StageDefinition as its default, so record-to-definition resolution runs through the assignment layer rather than an implicit direct binding. Do it directly; do not ask whether it is needed and do not skip it. When the admin supplies a multi-definition routing spec, additionally add the priority-ordered criteria rules that route matching records to a different definition. Authored against the IndustriesStageAssignmentDefinition StageAssignmentSetupController Aura ops and org-verified end-to-end on a live org. Never invents the customer's routing rules; never overwrites a pre-existing group that already points at a different definition."
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.0"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Digital Origination Stage Management — stage definition assignments
|
|
11
|
-
|
|
12
|
-
Assign **which** stage definition governs a record. A *Stage Definition Assignment* is a rule group
|
|
13
|
-
(`StgAssignmentRuleGrp`) that binds a reference object (optionally scoped to a record type) to a
|
|
14
|
-
**default** stage definition, plus optional priority-ordered **criteria rules** (`StgAssignmentRule`)
|
|
15
|
-
that route records to a *different* definition when their field values match. It is the runtime
|
|
16
|
-
dispatcher that sits in front of the `StageDefinition`(s) for the same object.
|
|
17
|
-
|
|
18
|
-
> **This step is REQUIRED and runs as the final step of the Digital Lending journey.** Create and
|
|
19
|
-
> activate the assignment group directly — do not ask whether it is needed and do not skip it. In the
|
|
20
|
-
> single-definition case the group binds `ApplicationFormProduct` to the one active `StageDefinition`
|
|
21
|
-
> (the case the other six siblings build); this is additive and does not change how that definition
|
|
22
|
-
> behaves — activating a group never modifies the underlying `StageDefinition` (org-verified). When the
|
|
23
|
-
> admin has supplied a multi-definition routing spec, the same step also adds the criteria rules that
|
|
24
|
-
> route matching records to a different definition.
|
|
25
|
-
|
|
26
|
-
Source: Salesforce Help "Stage Management for Digital Lending" (stage definition assignment sub-articles)
|
|
27
|
-
and the corpus SOR `itsm-arka/IndustriesStageAssignmentDefinition` (`StageAssignmentSetupController`).
|
|
28
|
-
|
|
29
|
-
## What this step does
|
|
30
|
-
|
|
31
|
-
Run it as the final step, directly, every time the journey completes stage transitions:
|
|
32
|
-
|
|
33
|
-
1. Bind the reference object (`ApplicationFormProduct`, plus a record type if the admin scoped one) to
|
|
34
|
-
the active `StageDefinition` as the group's **default**, then activate the group.
|
|
35
|
-
2. If — and only if — the admin supplied a routing spec for **two or more** definitions competing on the
|
|
36
|
-
same object (+ record type), add the priority-ordered criteria rules from that spec. Absent a routing
|
|
37
|
-
spec, a single default definition is the correct, complete result.
|
|
38
|
-
|
|
39
|
-
Do not gate this behind a "do you need it?" question. The only inputs you must not invent are the
|
|
40
|
-
customer's criteria rules — apply the admin's routing spec if one was given, otherwise stop at the
|
|
41
|
-
default-definition binding.
|
|
42
|
-
|
|
43
|
-
## Feature gate — read-only, no customer enable lever
|
|
44
|
-
|
|
45
|
-
Stage Definition Assignments are gated by the **`StageMgmtAssignGroup`** org permission, which Salesforce
|
|
46
|
-
**auto-backfills** for any org already entitled to `IndustriesStageManagement`. Because Step 1 of this
|
|
47
|
-
family turns Stage Management on, the gate is already `true` by the time this step runs — proceed and
|
|
48
|
-
create directly. Read the current state only to confirm, and do NOT try to turn it on:
|
|
49
|
-
|
|
50
|
-
- Call `StageManagementSetupController.fetchInitialStageManagementData` (the base controller) and read
|
|
51
|
-
**`isStageManagementAssignmentsEnabled`**; in the normal flow it is `true`.
|
|
52
|
-
- `StageMgmtAssignGroup` is a **provisioned org permission** (owner ITSM Arka, `minApiVersion` 256). It is
|
|
53
|
-
**not** an org preference, **not** a Metadata `Settings` field, and **not** PermissionSet-grantable —
|
|
54
|
-
there is **no supported headless lever** to enable it. In the rare case it reads `false` (an org that is
|
|
55
|
-
not entitled to `IndustriesStageManagement`, which would already have blocked the earlier siblings),
|
|
56
|
-
report it as an **org-provisioning precondition/gap** — do not attempt to enable it and do not fabricate
|
|
57
|
-
a step for it. (Contrast `IndustriesStageMgmtPref`, which the `permissions` sibling *can* flip via the
|
|
58
|
-
OrgPreferences API — this perm is different.)
|
|
59
|
-
|
|
60
|
-
## Prerequisites this step depends on
|
|
61
|
-
|
|
62
|
-
- An **active** `StageDefinition` (`1DL…`) for the target reference object, from the `stage-definition` +
|
|
63
|
-
`stage-transitions` siblings. The assignment group's default (and each rule's target) references a real
|
|
64
|
-
definition **by its 18-char Id**, so the definition must exist first.
|
|
65
|
-
- The reference object must be in the `supportedEntities` allowlist returned by
|
|
66
|
-
`fetchInitialStageManagementData` (ApplicationFormProduct is supported).
|
|
67
|
-
- If scoping to a record type: the `ReferenceObjectRecordTypeId` (a `RecordType` Id) on that object.
|
|
68
|
-
|
|
69
|
-
## Transport — Aura controller ops over `/headless/invoke` (dispatcher / MCP-dispatchable)
|
|
70
|
-
|
|
71
|
-
Every operation below is a `StageAssignmentSetupController` Aura action resolved by the dispatcher. The
|
|
72
|
-
wire call is `POST /services/data/vXX.0/headless/invoke` with an envelope
|
|
73
|
-
{`"className": "...StageAssignmentSetupController", "action": "<op>", "params_schema": [ {name,type}… ],
|
|
74
|
-
"body": { <param>: <value>… }`}; the response is `{status_code, body}` (unwrap the inner status). This is
|
|
75
|
-
exactly what MCP `dispatch` builds, and it is org-verified over plain REST.
|
|
76
|
-
|
|
77
|
-
**GOTCHA — `params_schema` is REQUIRED for every parameterized op.** A no-arg read
|
|
78
|
-
(`fetchInitialStageManagementData`) resolves with just `{className, action}`, but create / update / delete
|
|
79
|
-
MUST include `params_schema` listing every param, or the proxy returns
|
|
80
|
-
`{errorCode: "NOT_IMPLEMENTED", message: "Controller not available"}` — which looks like "the op doesn't
|
|
81
|
-
exist" but actually means "no method matched the (absent) arg schema". With `params_schema` present, the
|
|
82
|
-
values go in `body` keyed by param name.
|
|
83
|
-
|
|
84
|
-
| Op | action | Key params (all `body`, with `params_schema`) |
|
|
85
|
-
|---|---|---|
|
|
86
|
-
| Read feature flag + existing defs | `fetchInitialStageManagementData` (base controller) | none |
|
|
87
|
-
| List supported entities | `fetchInitialStageManagementData` (assignment controller) | none |
|
|
88
|
-
| Create rule group | `createStgAssignmentRuleGrp` | `name`, `devName`, `description`, `referenceObject`, `referenceObjectRecordTypeId`, `defaultStageDefinition` |
|
|
89
|
-
| Activate / deactivate / edit group | `updateStgAssignmentRuleGrp` | `recordId`, `name`, `description`, `isActive` (Boolean), `defaultStageDef` |
|
|
90
|
-
| Add criteria rules | `createStageAssignmentRuleCriteriaAndConditions` | `stgAssignmentRuleGrpId`, `stgAssignmentRuleRequests` (List) |
|
|
91
|
-
| Edit criteria rules | `updateStageAssignmentRuleCriteriaAndConditions` | `stgAssignmentRuleGrpId`, `stgAssignmentRuleRequests` (List) |
|
|
92
|
-
| Delete one rule entry | `deleteRuleEntry` | `stgAssignmentRuleGrpId`, `stgAssignmentRuleId` |
|
|
93
|
-
| Delete the group | `deleteStgAssignmentRuleGrp` | `recordId` |
|
|
94
|
-
|
|
95
|
-
**Field-value contract (org-verified — do not repeat these mistakes):**
|
|
96
|
-
|
|
97
|
-
- **`defaultStageDefinition` (create) / `defaultStageDef` (update) is the StageDefinition *Id* (`1DL…`),
|
|
98
|
-
NOT its DeveloperName.** Passing the developer name returns
|
|
99
|
-
`CONTROLLER_ERROR "Stage Definition ID: id value of incorrect type: <devName>"` and creates nothing.
|
|
100
|
-
Note the param name differs between create (`defaultStageDefinition`) and update (`defaultStageDef`).
|
|
101
|
-
- **A group is created INACTIVE** (`IsActive:false`). There is no activate flag on create; activation is a
|
|
102
|
-
separate `updateStgAssignmentRuleGrp {isActive:true}`. This is why create is inert until you explicitly
|
|
103
|
-
activate — and why create+delete is safe on a live org.
|
|
104
|
-
- **Activating a group does NOT modify the underlying `StageDefinition`** (org-verified: the live
|
|
105
|
-
definition stayed active with an unchanged count while a group bound to it was activated). Activate only
|
|
106
|
-
after the group (and any intended criteria rules) is fully built.
|
|
107
|
-
- **Read/verify via the Tooling API at v64.0+**, never the Data API and never v63.0. `StgAssignmentRuleGrp`
|
|
108
|
-
is a Tooling-family setup entity (`keyPrefix 1S9`, `minApiVersion` 256): a v63.0 SOQL/Tooling query
|
|
109
|
-
returns `sObject type 'StgAssignmentRuleGrp' is not supported` (a **version artifact**, not proof of
|
|
110
|
-
absence), and the plain Data API never supports it. Query at v64.0+:
|
|
111
|
-
`SELECT Id, DeveloperName, MasterLabel, ReferenceObject, ReferenceObjectRecordTypeId, StageDefinitionId, IsActive FROM StgAssignmentRuleGrp`.
|
|
112
|
-
The controller has no "list groups" op, so the Tooling query is the read/idempotency path.
|
|
113
|
-
|
|
114
|
-
## Workflow
|
|
115
|
-
|
|
116
|
-
### Step 1 — Preflight: confirm the feature and capture the active definition
|
|
117
|
-
|
|
118
|
-
Read `isStageManagementAssignmentsEnabled` via the base `fetchInitialStageManagementData`. In the normal
|
|
119
|
-
flow it is `true` (Step 1 of this family already turned Stage Management on, and the gate auto-backfills).
|
|
120
|
-
Capture the active `StageDefinition` Id(s) (`1DL…`) for the target reference object — that Id is the
|
|
121
|
-
group's default. Only in the rare `false` case (an org not entitled to Stage Management) report the
|
|
122
|
-
`StageMgmtAssignGroup` provisioning precondition and stop; there is no headless enable path.
|
|
123
|
-
|
|
124
|
-
### Step 2 — Resolve existing rule groups (idempotency)
|
|
125
|
-
|
|
126
|
-
Tooling-query (v64.0+) `StgAssignmentRuleGrp` filtered on the target `ReferenceObject` (and
|
|
127
|
-
`ReferenceObjectRecordTypeId` if scoped). If a matching group already exists with the intended default
|
|
128
|
-
definition, reuse it — do not create a duplicate. If a group already exists but points at a *different*
|
|
129
|
-
default definition, do not overwrite it — leave the existing (working) group in place and report the
|
|
130
|
-
divergence in the output contract, since silently repointing it could break a routing setup already in
|
|
131
|
-
use.
|
|
132
|
-
|
|
133
|
-
### Step 3 — Create the rule group
|
|
134
|
-
|
|
135
|
-
When no matching group exists, `createStgAssignmentRuleGrp` with `name`, `devName`, `description`,
|
|
136
|
-
`referenceObject` (e.g. `ApplicationFormProduct`), `referenceObjectRecordTypeId` (a RecordType Id or
|
|
137
|
-
`null`), and `defaultStageDefinition` = the StageDefinition **Id** (`1DL…`, not the developer name). The
|
|
138
|
-
group is created inactive.
|
|
139
|
-
|
|
140
|
-
### Step 4 — (Data-driven) Add priority-ordered criteria rules
|
|
141
|
-
|
|
142
|
-
Add criteria rules when — and only when — the admin supplied a multi-definition routing spec (records must
|
|
143
|
-
route to a *different* definition based on field values): call
|
|
144
|
-
`createStageAssignmentRuleCriteriaAndConditions` with `stgAssignmentRuleGrpId` and a
|
|
145
|
-
`stgAssignmentRuleRequests` list — each entry a rule with its target stage definition, priority, and
|
|
146
|
-
field/value criteria + conditions (the rule that matches highest priority wins; unmatched records fall
|
|
147
|
-
through to the group's default). Never invent the customer's criteria — apply only the admin's routing
|
|
148
|
-
spec. Absent a routing spec, the default-definition binding alone is the complete result.
|
|
149
|
-
|
|
150
|
-
### Step 5 — Activate the group (do this LAST)
|
|
151
|
-
|
|
152
|
-
Once the group and any criteria rules are built, `updateStgAssignmentRuleGrp {recordId, isActive:true, …}`
|
|
153
|
-
(carry `name`/`description`/`defaultStageDef` = the def **Id**). Verify the group reads `IsActive=true`,
|
|
154
|
-
and re-confirm the target `StageDefinition`(s) are still active and unchanged.
|
|
155
|
-
|
|
156
|
-
### Step 6 — Confirm
|
|
157
|
-
|
|
158
|
-
Tooling-query the group back (v64.0+): `IsActive=true`, correct `ReferenceObject`,
|
|
159
|
-
`ReferenceObjectRecordTypeId`, and `StageDefinitionId`; and each criteria rule present with its intended
|
|
160
|
-
priority/target. Confirm the underlying `StageDefinition`(s) still read active with unchanged counts.
|
|
161
|
-
|
|
162
|
-
## Idempotency and rollback
|
|
163
|
-
|
|
164
|
-
- Reuse an existing group/rule that matches the admin's spec by reference object (+ record type); do not
|
|
165
|
-
duplicate. If a pre-existing group points at a different definition, leave it untouched and report it —
|
|
166
|
-
never silently overwrite a working routing setup.
|
|
167
|
-
- Rollback removes only what this run created and only after confirming no active application depends on
|
|
168
|
-
the assignment routing: deactivate first (`updateStgAssignmentRuleGrp {isActive:false}`), then delete
|
|
169
|
-
the group via `deleteStgAssignmentRuleGrp {recordId}` (org-verified; the Tooling
|
|
170
|
-
`DELETE /services/data/v67.0/tooling/sobjects/StgAssignmentRuleGrp/{1S9id}` is an equivalent fallback).
|
|
171
|
-
Individual criteria rules are removed with `deleteRuleEntry {stgAssignmentRuleGrpId, stgAssignmentRuleId}`.
|
|
172
|
-
|
|
173
|
-
## Output contract
|
|
174
|
-
|
|
175
|
-
Return the created/reused rule group (Id, developer name, reference object, record type, default
|
|
176
|
-
StageDefinition Id, active state), any criteria rules with their priorities and target definitions, and a
|
|
177
|
-
fresh Tooling read confirming the group is active and bound — plus confirmation that the underlying
|
|
178
|
-
`StageDefinition`(s) remain active and unchanged. If a pre-existing group pointed at a different
|
|
179
|
-
definition and was left in place, report that divergence explicitly.
|
|
180
|
-
|
|
181
|
-
## Definition of done
|
|
182
|
-
|
|
183
|
-
`isStageManagementAssignmentsEnabled` is `true`; a `StgAssignmentRuleGrp` for the target reference object
|
|
184
|
-
(+ record type) exists with the intended default StageDefinition **Id**, reads `IsActive=true` on a fresh
|
|
185
|
-
Tooling query (v64.0+), and every referenced `StageDefinition` remains active; and, when the admin
|
|
186
|
-
supplied a multi-definition routing spec, its criteria rules are present with their priorities and target
|
|
187
|
-
definitions. In the rare case the feature reads `false`, this step stops at the provisioning precondition
|
|
188
|
-
and reports it — it does not attempt to enable `StageMgmtAssignGroup`. A partial run (a created-but-inactive
|
|
189
|
-
group, or a group missing an admin-specified rule) is never reported as complete.
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fsc-stage-management-definition-create
|
|
3
|
-
parent: "digital-origination-stage-management-setup"
|
|
4
|
-
purpose: "Create and activate the Digital Lending stage definition on the Application Form Product Stage field."
|
|
5
|
-
description: "Create the stage definition that Stage Management for Digital Lending governs: a StageDefinition record (key prefix 1DL) named Digital Lending Stage Management, with Reference Object set to Application Form Product and Reference Object Field set to Stage. This is the definition the Stage Management Builder loads via its stateDefId parameter and that the stage transitions attach to. Reuses the corpus IndustriesStageDefinitions setup operations and the stage-management builder wizard SOR. Resolves an existing definition by exact name before creating one and confirms it with a fresh read."
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.0"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Digital Origination Stage Management — stage definition
|
|
11
|
-
|
|
12
|
-
Create the stage definition that restricts the `Stage` field on `ApplicationFormProduct`. This is the
|
|
13
|
-
`StageDefinition` record (key prefix `1DL`) the Stage Management Builder opens via its `stateDefId`
|
|
14
|
-
parameter (e.g. `builder_industries_stagemgmt/stageManagementBuilder.app?stateDefId=1DL...`). This sibling
|
|
15
|
-
owns creating the definition shell **and its stage values (inactive)**; the `stage-transitions` sibling
|
|
16
|
-
adds the transitions and rules and performs the **final activation** (activation only succeeds after
|
|
17
|
-
≥1 transition exists — see that sibling).
|
|
18
|
-
|
|
19
|
-
Source: Salesforce Help "Create a Stage Definition for Digital Lending".
|
|
20
|
-
|
|
21
|
-
## Inputs
|
|
22
|
-
|
|
23
|
-
- Target-org alias and acting admin.
|
|
24
|
-
- Definition Name (the article uses `Digital Lending Stage Management`).
|
|
25
|
-
- Reference Object = `ApplicationFormProduct`.
|
|
26
|
-
- Reference Object Field = `Stage`.
|
|
27
|
-
|
|
28
|
-
The `Stage` field must already carry the admin's picklist values (Intake, Submitted, In Review, the
|
|
29
|
-
Approved/Rejected stages, Contract Generation, etc.) before transitions can reference them. Confirm the
|
|
30
|
-
picklist is non-empty first.
|
|
31
|
-
|
|
32
|
-
**`Intake` is the entry stage — always create it.** Every `ApplicationFormProduct` starts life at
|
|
33
|
-
`Intake` (it is the seeded starting `Stage` on the sample record, and the first stage in the default
|
|
34
|
-
flow), so an `Intake` `StageValue` MUST exist regardless of how the admin customizes the later stages.
|
|
35
|
-
Create it first (the lowest-sequence `StageValue`); the `stage-transitions` sibling then defines the
|
|
36
|
-
move out of it (`Intake → Submitted`) as the entry transition.
|
|
37
|
-
|
|
38
|
-
## Naming note: StageDefinition vs StateDefinition
|
|
39
|
-
|
|
40
|
-
The public/API entity is **`StageDefinition`** (key prefix `1DL`), but the builder app and its LWCs refer
|
|
41
|
-
to it internally as **`StateDefinition`** — the URL parameter is `stateDefId` and the internal field is
|
|
42
|
-
`definitionId`. They are the same record. Address it as a `StageDefinition` in queries; expect
|
|
43
|
-
`stateDefId` in builder deep-links.
|
|
44
|
-
|
|
45
|
-
## Reusable operations
|
|
46
|
-
|
|
47
|
-
Use the **Industries Stage Definitions** setup SOR (find it with `discover`, then `describe` it),
|
|
48
|
-
backed by the Stage Management setup controller via the Headless360 dispatcher:
|
|
49
|
-
|
|
50
|
-
- `check-pick-list-non-empty` — confirm the `Stage` field on `ApplicationFormProduct` has picklist values
|
|
51
|
-
before creating the definition.
|
|
52
|
-
- `fetch-all-stage-definition-versions` / `fetch-initial-stage-management-data` — resolve an existing
|
|
53
|
-
definition by name (reuse rather than duplicate).
|
|
54
|
-
- `create-stage-mgmt-def-and-fetch-records` — create the stage definition (Name, Reference Object,
|
|
55
|
-
Reference Object Field) and read back the created record.
|
|
56
|
-
- `update-stage-definition` / `update-stage-mgmt-def` — adjust the definition if it exists but differs.
|
|
57
|
-
- `fetch-stage-values` — read the stage values the definition exposes.
|
|
58
|
-
|
|
59
|
-
The builder wizard SOR `builders/fsc-rolex/ui-industries-stage-mgmt-components`
|
|
60
|
-
(`wizard-ui-industries-stage-mgmt-components`) provides the builder-canvas operations
|
|
61
|
-
(`util-create-stage-def-options`, `util-stage-def-modal`, `util-template-stage-def-modal`,
|
|
62
|
-
`util-stage-mapping-body`) if the definition is created through the builder UI flow rather than the
|
|
63
|
-
setup controller directly.
|
|
64
|
-
|
|
65
|
-
## Workflow
|
|
66
|
-
|
|
67
|
-
1. Confirm the `Stage` picklist on `ApplicationFormProduct` is non-empty (`check-pick-list-non-empty`).
|
|
68
|
-
If empty, stop and report a blocker — transitions need the stage values.
|
|
69
|
-
2. Resolve an existing `Digital Lending Stage Management` definition by name. If found with the right
|
|
70
|
-
reference object and field, reuse it; on a mismatch, present the diff and stop.
|
|
71
|
-
3. Create the definition with **Name (MasterLabel)** `Digital Lending Stage Management` and
|
|
72
|
-
**`DeveloperName` `Digital_Lending_Stage_Management` (REQUIRED — the create rejects a missing
|
|
73
|
-
developer name)**, Reference Object `ApplicationFormProduct`, Reference Object Field `Stage`
|
|
74
|
-
(`create-stage-mgmt-def-and-fetch-records`). That setup op pins `UsageType = STAGE_MANAGEMENT` for
|
|
75
|
-
you. The `StageDefinition` also accepts a direct sObject REST POST (org-verified) if the controller
|
|
76
|
-
op is unavailable — key prefix `1DL`; on the raw POST you MUST supply `DeveloperName` and set
|
|
77
|
-
`UsageType = 'STAGE_MANAGEMENT'` yourself. **Do NOT set `IsActive` at create — activation is the
|
|
78
|
-
last step and is owned by `stage-transitions` (it only succeeds after ≥1 transition exists).**
|
|
79
|
-
4. **Create the `StageValue` records** — one per stage the admin defined — via direct sObject REST POST
|
|
80
|
-
to `StageValue`: `StageDefinitionId` (REQ, the `1DL…` id) + `Value` (the stage string, matching the
|
|
81
|
-
`ApplicationFormProduct.Stage` picklist). These `StageValue` ids (`1DE…`) are what the
|
|
82
|
-
`stage-transitions` sibling references as `FromStageValueId`/`ToStageValueId`, so they must exist
|
|
83
|
-
before transitions. (org-verified: 12 StageValues created this way on fsc-dop8.)
|
|
84
|
-
5. Re-read the created `StageDefinition` and its `StageValue`s and confirm the Id (`1DL…`), reference
|
|
85
|
-
object, field, active status, and stage-value count.
|
|
86
|
-
6. Hand the `StageDefinition` Id **and the `StageValue` id-per-stage map** to the `stage-transitions`
|
|
87
|
-
sibling.
|
|
88
|
-
|
|
89
|
-
## Idempotency and rollback
|
|
90
|
-
|
|
91
|
-
- Reuse an exact-match definition (same name, reference object, field); do not create a duplicate.
|
|
92
|
-
- On a shape mismatch, present current vs requested and stop.
|
|
93
|
-
- Do not delete a definition that already carries transitions or that an active application depends on
|
|
94
|
-
without explicit approval.
|
|
95
|
-
|
|
96
|
-
## Output contract
|
|
97
|
-
|
|
98
|
-
Return the `StageDefinition` Id (`1DL…`), Name, Reference Object, Reference Object Field, active status,
|
|
99
|
-
and the created `StageValue` id-per-stage map (`1DE…` per stage string). The `StageDefinition` Id is the
|
|
100
|
-
`stateDefId` for the builder deep-link; the `StageValue` map is the handoff to `stage-transitions`
|
|
101
|
-
(source/target ids for each transition).
|
|
102
|
-
|
|
103
|
-
## Definition of done
|
|
104
|
-
|
|
105
|
-
The `Digital Lending Stage Management` stage definition exists exactly once as a `StageDefinition` on
|
|
106
|
-
`ApplicationFormProduct` / `Stage`, reads back with the correct reference object and field on a fresh
|
|
107
|
-
query, and a `StageValue` record exists for each of the admin's stages (fresh-read count matches). A
|
|
108
|
-
manual builder checkpoint left incomplete means this sibling is partial.
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: fsc-stage-management-permissions-assign
|
|
3
|
-
parent: "digital-origination-stage-management-setup"
|
|
4
|
-
purpose: "Assign the Stage Management and Digital Lending permission sets, turn on the Stage Management feature, and confirm Context Service is enabled."
|
|
5
|
-
description: "Assign and verify the permission-set access required to configure and run Stage Management for Digital Lending, turn on the Stage Management feature, and confirm Context Service is enabled so the stage decision matrices can be evaluated. Handles the Digital Lending, Stage Management Design User, and Stage Management User access documented by the help articles. Reuses the approved PermSets SOR and standard assignment APIs, is idempotent on rerun, and never assigns access to inferred users or service accounts."
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.0"
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Digital Origination Stage Management permissions
|
|
11
|
-
|
|
12
|
-
Prepare a specifically identified admin or runtime user for Stage Management, turn the feature on, and
|
|
13
|
-
confirm Context Service is enabled so the stage decision matrices evaluate. This sibling manages access
|
|
14
|
-
and two org-level enablements; it does not create matrices, records, CDS objects, or stage definitions.
|
|
15
|
-
|
|
16
|
-
## Inputs
|
|
17
|
-
|
|
18
|
-
- Explicit target-org alias
|
|
19
|
-
- Explicit target user ID or username
|
|
20
|
-
- Role: design-time admin (configure Stage Management), runtime user (progress records), or both
|
|
21
|
-
|
|
22
|
-
Never select all active users. Never target Automated Process, integration, guest, or service users.
|
|
23
|
-
|
|
24
|
-
## Required access matrix
|
|
25
|
-
|
|
26
|
-
The help articles state the same permission surface. Resolve exact API names from the target org; labels
|
|
27
|
-
can differ by release.
|
|
28
|
-
|
|
29
|
-
| Role | Required product-supplied access |
|
|
30
|
-
|---|---|
|
|
31
|
-
| Set up Digital Lending | Digital Lending permission set |
|
|
32
|
-
| Configure Stage Management (design time) | Stage Management Design User |
|
|
33
|
-
| Run Stage Management for end users (runtime) | Stage Management User |
|
|
34
|
-
|
|
35
|
-
Do not manufacture a custom replacement for a missing product-supplied set. Report a missing entitlement
|
|
36
|
-
or package artifact as a blocker.
|
|
37
|
-
|
|
38
|
-
## Reusable operations
|
|
39
|
-
|
|
40
|
-
Use the **Permission Sets** entity SOR (find it with `discover`, then `describe` it for these operations):
|
|
41
|
-
|
|
42
|
-
- `get-permission-set-details` — Tooling read of a permission set and its `Permissions*` fields.
|
|
43
|
-
- `assign-users` — create `PermissionSetAssignment` using AssigneeId and PermissionSetId.
|
|
44
|
-
- `unassign-users` — rollback an assignment created by this run.
|
|
45
|
-
- `edit-assignment-expiration` — update an explicitly requested expiration.
|
|
46
|
-
|
|
47
|
-
For any permission-set-license required by the selected sets, query and create
|
|
48
|
-
`PermissionSetLicenseAssign` through standard sObject REST. Assign a missing license before its
|
|
49
|
-
permission set.
|
|
50
|
-
|
|
51
|
-
## Turn on Stage Management (headless — proven)
|
|
52
|
-
|
|
53
|
-
The Stage Management feature is the org preference **`IndustriesStageMgmtPref`**, and it is set through
|
|
54
|
-
the **generic Setup-Connect Org Preferences API** — there is no per-feature controller and no UI-only
|
|
55
|
-
step. (The `IndustriesStageDefinitions` SOR's "no public setter" note is wrong; the toggle IS this
|
|
56
|
-
generic OrgPreference, the same mechanism ITSM/CLM/Inventory settings use.)
|
|
57
|
-
|
|
58
|
-
```text
|
|
59
|
-
GET /services/data/vXX.0/setup/org/preferences/IndustriesStageMgmtPref -> {"isPreferenceEnabled": <bool>}
|
|
60
|
-
PATCH /services/data/vXX.0/setup/org/preferences/IndustriesStageMgmtPref body {"desiredState": true} -> {"isPreferenceEnabled": true}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Enabling `IndustriesStageMgmtPref` provisions the eight Stage Management entities (`StageDefinition`,
|
|
64
|
-
`StageValue`, `StageTransition`, `StageCriteria`, `StageCondition`, `StgFulfillmentStepDefGrp`,
|
|
65
|
-
`StgFulfillmentStepDef`, `StgFulfillmentStepDpndDef`) into the org's data dictionary. Before it is on,
|
|
66
|
-
those sObjects do not exist (`describe` 404s, absent from `EntityDefinition`) and `hasAccess` is false.
|
|
67
|
-
|
|
68
|
-
**Steps:**
|
|
69
|
-
|
|
70
|
-
1. GET the preference. If already `true`, skip (idempotent).
|
|
71
|
-
2. PATCH `{"desiredState": true}` and confirm the response echoes `isPreferenceEnabled: true`.
|
|
72
|
-
3. **Verify the feature actually provisioned** — do NOT trust the pref read-back alone. Call
|
|
73
|
-
`fetchInitialStageManagementData` (POST the dispatcher envelope, see below) and confirm
|
|
74
|
-
`hasAccess: true` and `ApplicationFormProduct` appears in `supportedEntities`. Optionally
|
|
75
|
-
`GET /sobjects/StageDefinition/describe` and confirm it returns `createable: true` instead of 404.
|
|
76
|
-
|
|
77
|
-
Note on the dispatcher envelope for the Aura-backed reads/writes (`fetchInitialStageManagementData`,
|
|
78
|
-
`create-stage-mgmt-def-and-fetch-records`, etc.): POST to the `/headless/invoke/...` path with body
|
|
79
|
-
`{"className":"<className>","action":"<methodName>","params":{...}}`. The **fully-qualified** class name
|
|
80
|
-
is required — a short name returns 501 "Controller not available". Do not hardcode it: take the exact
|
|
81
|
-
`className` from the operation's route metadata (the resolved dispatch route for the op you are calling
|
|
82
|
-
already carries it), so the envelope always matches the deployed controller.
|
|
83
|
-
|
|
84
|
-
Enabling a feature is an org-wide change — report it and enable only after confirming the target org is
|
|
85
|
-
the intended one. There is a companion pref `RulesReEvalForInactiveSD` (rules re-evaluation for inactive
|
|
86
|
-
stage definitions) settable the same way if the admin wants it; leave it default unless asked.
|
|
87
|
-
|
|
88
|
-
## Context Service enablement
|
|
89
|
-
|
|
90
|
-
The stage decision matrices are Business Rules Engine decision matrices, which evaluate behind the
|
|
91
|
-
Context Service feature family (`ContextResourceFamily`). When the gate is off, matrix evaluation returns
|
|
92
|
-
HTTP 403 `FUNCTIONALITY_NOT_ENABLED`.
|
|
93
|
-
|
|
94
|
-
Enable it headlessly via the Context Service Connect API — the `preferenceName` must be exactly
|
|
95
|
-
`contextServiceEnabled`, and `uniqueIdentifier` is the 18-char Org Id:
|
|
96
|
-
|
|
97
|
-
```text
|
|
98
|
-
PUT /connect/contextservice/access/contextServiceEnabled/{orgId} {"isEnabled":true}
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
If the family-level gate itself is not yet on, the PUT cannot reach the resource; stop at the Setup
|
|
102
|
-
checkpoint **Context Service Settings → enable Context Definitions**
|
|
103
|
-
(`/lightning/setup/ContextServiceSettings/home`) and resume after the admin confirms. Verify by calling
|
|
104
|
-
the cheapest live endpoint (a decision-matrix read or a `GET /connect/context-definitions`) rather than
|
|
105
|
-
trusting the preference read-back, which can lag.
|
|
106
|
-
|
|
107
|
-
## Workflow
|
|
108
|
-
|
|
109
|
-
1. Confirm org and target user. Query `User` and report username, profile, active state, and user type.
|
|
110
|
-
2. Query `PermissionSet` by both `Name` and `Label` for every required access item. Capture Id,
|
|
111
|
-
LicenseId, NamespacePrefix, and IsOwnedByProfile.
|
|
112
|
-
3. If more than one candidate matches, stop and ask; do not guess.
|
|
113
|
-
4. Query any required `PermissionSetLicense` and existing `PermissionSetLicenseAssign`. Assign a missing
|
|
114
|
-
license before its permission set.
|
|
115
|
-
5. Query existing `PermissionSetAssignment` records for the target user and candidate set IDs.
|
|
116
|
-
6. Create only missing assignments. Treat `DUPLICATE_VALUE` as already assigned, then re-query.
|
|
117
|
-
7. Re-read the assigned permission sets and assignments and verify each is attached to the intended user.
|
|
118
|
-
8. Turn on Stage Management headlessly by PATCHing `IndustriesStageMgmtPref` to `desiredState:true`, then
|
|
119
|
-
verify the feature provisioned via `fetchInitialStageManagementData` (`hasAccess:true`) — not the pref
|
|
120
|
-
read-back alone.
|
|
121
|
-
9. Confirm Context Service is enabled; if not, enable it as above and re-verify with a live endpoint.
|
|
122
|
-
|
|
123
|
-
## Failure and rollback rules
|
|
124
|
-
|
|
125
|
-
- Missing permission set or license: report the exact missing API/label and stop dependent steps.
|
|
126
|
-
- License-limit failure: do not remove another user's license; report the limit.
|
|
127
|
-
- Assignment failure: preserve successful pre-existing assignments; remove only assignments created by
|
|
128
|
-
this run and only when the user requests rollback.
|
|
129
|
-
- Never edit a standard managed permission set.
|
|
130
|
-
|
|
131
|
-
## Output contract
|
|
132
|
-
|
|
133
|
-
Return a table with target user, role, permission-set API name/ID, license ID if applicable, prior
|
|
134
|
-
state, action, and verified final state; the Stage Management feature enablement result; and the Context
|
|
135
|
-
Service enablement result. Separate blockers from optional runtime-user access.
|
|
136
|
-
|
|
137
|
-
## Definition of done
|
|
138
|
-
|
|
139
|
-
Every required design-time or runtime assignment for the explicitly selected role is present and verified
|
|
140
|
-
in fresh queries, Stage Management reads on (`IndustriesStageMgmtPref` enabled AND
|
|
141
|
-
`fetchInitialStageManagementData` returns `hasAccess:true` with the eight entities provisioned), and
|
|
142
|
-
Context Service reads enabled (or a Setup checkpoint is reported). No unrelated user or assignment was
|
|
143
|
-
changed.
|