@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.
Files changed (484) hide show
  1. package/package.json +1 -1
  2. package/skills/agentforce-gpt-email-generation-configure/SKILL.md +312 -0
  3. package/skills/agentforce-offline-experimentation-run/SKILL.md +253 -0
  4. package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +796 -0
  5. package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +111 -0
  6. package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +1053 -0
  7. package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +64 -0
  8. package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +46 -0
  9. package/skills/automation-company-profile-info-query/SKILL.md +51 -0
  10. package/skills/automation-digital-wallet-configure/SKILL.md +689 -0
  11. package/skills/automation-flow-coordinate/SKILL.md +95 -0
  12. package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +1569 -0
  13. package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +96 -0
  14. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +23 -0
  15. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +31 -0
  16. package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +179 -0
  17. package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +13 -0
  18. package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +83 -0
  19. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +69 -0
  20. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +274 -0
  21. package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +192 -0
  22. package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +130 -0
  23. package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +92 -0
  24. package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +88 -0
  25. package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +152 -0
  26. package/skills/automation-flow-coordinate/references/elements/start/start.md +539 -0
  27. package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +152 -0
  28. package/skills/automation-flow-coordinate/references/elements/wait/wait.md +497 -0
  29. package/skills/automation-flow-coordinate/references/recipes/author/author.md +868 -0
  30. package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +300 -0
  31. package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +292 -0
  32. package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +323 -0
  33. package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +109 -0
  34. package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +219 -0
  35. package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +180 -0
  36. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +175 -0
  37. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +255 -0
  38. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +212 -0
  39. package/skills/automation-flow-coordinate/references/resources/variable/variable.md +171 -0
  40. package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +786 -0
  41. package/skills/automation-flow-coordinate/references/shared/end/end.md +267 -0
  42. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +69 -0
  43. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +80 -0
  44. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +116 -0
  45. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +321 -0
  46. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +320 -0
  47. package/skills/automation-flow-coordinate/references/shared/server-functions.md +597 -0
  48. package/skills/automation-sandbox-post-copy-config-generate/SKILL.md +21 -11
  49. package/skills/automation-sandbox-post-copy-config-generate/assets/config_template.json +10 -0
  50. package/skills/automation-sandbox-post-copy-config-generate/assets/json_schema.json +33 -1
  51. package/skills/automation-sandbox-post-copy-config-generate/references/configuration_catalog.md +44 -1
  52. package/skills/automation-sandbox-post-copy-configure/SKILL.md +132 -124
  53. package/skills/automation-sandbox-post-copy-configure/references/flow_activation_path.md +151 -0
  54. package/skills/automation-sandbox-post-copy-configure/references/scheduled_apex_path.md +55 -9
  55. package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +69 -0
  56. package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +78 -0
  57. package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +373 -0
  58. package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +273 -0
  59. package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +259 -0
  60. package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +369 -0
  61. package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +542 -0
  62. package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +159 -0
  63. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +349 -0
  64. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +505 -0
  65. package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +380 -0
  66. package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +567 -0
  67. package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +159 -0
  68. package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +360 -0
  69. package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +539 -0
  70. package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +358 -0
  71. package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +602 -0
  72. package/skills/commerce-b2b-store-configure/SKILL.md +251 -0
  73. package/skills/commerce-credit-memo-create/SKILL.md +139 -0
  74. package/skills/commerce-delivery-business-hours-configure/SKILL.md +277 -0
  75. package/skills/commerce-delivery-estimation-apply/SKILL.md +155 -0
  76. package/skills/commerce-delivery-estimation-configure/SKILL.md +377 -0
  77. package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +174 -0
  78. package/skills/commerce-estimate-bopis-query/SKILL.md +279 -0
  79. package/skills/commerce-estimate-delivery-date-query/SKILL.md +349 -0
  80. package/skills/commerce-fees-apply/SKILL.md +227 -0
  81. package/skills/commerce-fulfillment-routing-analyze/SKILL.md +200 -0
  82. package/skills/commerce-guest-buyer-create/SKILL.md +173 -0
  83. package/skills/commerce-location-bopis-configure/SKILL.md +378 -0
  84. package/skills/commerce-location-business-hours-configure/SKILL.md +235 -0
  85. package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +309 -0
  86. package/skills/commerce-location-graph-integrate/SKILL.md +131 -0
  87. package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +755 -0
  88. package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +331 -0
  89. package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +579 -0
  90. package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +626 -0
  91. package/skills/commerce-merchant-catalog-configure/SKILL.md +614 -0
  92. package/skills/commerce-merchant-extension-provider-configure/SKILL.md +368 -0
  93. package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +118 -0
  94. package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +65 -0
  95. package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +90 -0
  96. package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +72 -0
  97. package/skills/commerce-merchant-insights-query/SKILL.md +279 -0
  98. package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +656 -0
  99. package/skills/commerce-order-summary-change-apply/SKILL.md +375 -0
  100. package/skills/commerce-product-details-get/SKILL.md +363 -0
  101. package/skills/commerce-product-search/SKILL.md +563 -0
  102. package/skills/commerce-react-storefront-create/SKILL.md +350 -0
  103. package/skills/commerce-return-order-summary-create/SKILL.md +513 -0
  104. package/skills/commerce-search-relevance-analyze/SKILL.md +757 -0
  105. package/skills/commerce-temporary-processing-time-override-create/SKILL.md +274 -0
  106. package/skills/communications-initial-setup-configure/SKILL.md +630 -0
  107. package/skills/communications-multisite-configure/SKILL.md +571 -0
  108. package/skills/communications-revenue-cloud-settings-configure/SKILL.md +74 -0
  109. package/skills/communications-smb-fiber-catalog-create/SKILL.md +413 -0
  110. package/skills/communications-tmf-integrate/SKILL.md +1368 -0
  111. package/skills/consumer-goods-promotion-bo-api-deploy/SKILL.md +54 -107
  112. package/skills/consumer-goods-promotion-bo-api-deploy/assets/set-comment-value/payloads/copy.json +1 -1
  113. package/skills/consumer-goods-promotion-bo-api-deploy/references/conventions-and-payload-rules.md +82 -5
  114. package/skills/consumer-goods-promotion-bo-api-deploy/references/generate-and-wire.md +35 -2
  115. package/skills/consumer-goods-promotion-bo-api-deploy/references/preflight-and-seed-queries.md +149 -0
  116. package/skills/consumer-goods-promotion-bo-api-deploy/references/smoke-and-verify.md +17 -1
  117. package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +448 -0
  118. package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +269 -0
  119. package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +271 -0
  120. package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +382 -0
  121. package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +373 -0
  122. package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +389 -0
  123. package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +338 -0
  124. package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +547 -0
  125. package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +346 -0
  126. package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +1110 -0
  127. package/skills/crm-analytics-adoption-insights-configure/SKILL.md +224 -0
  128. package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +418 -0
  129. package/skills/crm-analytics-dashboards-configure/SKILL.md +731 -0
  130. package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +233 -0
  131. package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +184 -0
  132. package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +167 -0
  133. package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +55 -0
  134. package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +1350 -0
  135. package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +1862 -0
  136. package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +83 -0
  137. package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +81 -0
  138. package/skills/data360-activation-create/SKILL.md +104 -0
  139. package/skills/data360-activation-external-platform-get/SKILL.md +49 -0
  140. package/skills/data360-activation-target-create/SKILL.md +93 -0
  141. package/skills/data360-activation-v2-create/SKILL.md +456 -0
  142. package/skills/data360-audience-dmo-get/SKILL.md +38 -0
  143. package/skills/data360-calculated-affinity-create/SKILL.md +82 -0
  144. package/skills/data360-calculated-insight-create/SKILL.md +148 -0
  145. package/skills/data360-catalog-metadata-create/SKILL.md +183 -0
  146. package/skills/data360-code-extension-create/SKILL.md +115 -0
  147. package/skills/data360-communication-capping-create/SKILL.md +227 -0
  148. package/skills/data360-connection-create/SKILL.md +491 -0
  149. package/skills/data360-content-lens-create/SKILL.md +181 -0
  150. package/skills/data360-data-action-create/SKILL.md +126 -0
  151. package/skills/data360-data-action-target-create/SKILL.md +181 -0
  152. package/skills/data360-data-clean-room-create/SKILL.md +238 -0
  153. package/skills/data360-data-governance-create/SKILL.md +746 -0
  154. package/skills/data360-data-graph-create/SKILL.md +82 -0
  155. package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +38 -0
  156. package/skills/data360-data-lake-object-create/SKILL.md +207 -0
  157. package/skills/data360-data-model-object-catalog-get/SKILL.md +49 -0
  158. package/skills/data360-data-model-object-create/SKILL.md +128 -0
  159. package/skills/data360-data-model-object-mapping-create/SKILL.md +106 -0
  160. package/skills/data360-data-space-create/SKILL.md +161 -0
  161. package/skills/data360-data-streams-create/SKILL.md +324 -0
  162. package/skills/data360-engagement-signal-get/SKILL.md +38 -0
  163. package/skills/data360-experiment-create/SKILL.md +82 -0
  164. package/skills/data360-goal-based-campaign-create/SKILL.md +192 -0
  165. package/skills/data360-harmonization-process-history-get/SKILL.md +38 -0
  166. package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +84 -0
  167. package/skills/data360-identity-resolution-create/SKILL.md +115 -0
  168. package/skills/data360-intelligent-document-processing-create/SKILL.md +148 -0
  169. package/skills/data360-knowledge-graph-construction-create/SKILL.md +93 -0
  170. package/skills/data360-knowledge-graph-create/SKILL.md +216 -0
  171. package/skills/data360-knowledge-space-mcp-configure/SKILL.md +475 -0
  172. package/skills/data360-machine-learning-mcp-configure/SKILL.md +697 -0
  173. package/skills/data360-multi-org-mcp-configure/SKILL.md +117 -0
  174. package/skills/data360-secondary-index-mcp-configure/SKILL.md +126 -0
  175. package/skills/data360-segment-mcp-configure/SKILL.md +159 -0
  176. package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +93 -0
  177. package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +93 -0
  178. package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +93 -0
  179. package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +38 -0
  180. package/skills/data360-semantic-engine-mcp-configure/SKILL.md +62 -0
  181. package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +38 -0
  182. package/skills/data360-semantic-metric-mcp-configure/SKILL.md +93 -0
  183. package/skills/data360-semantic-model-mcp-configure/SKILL.md +115 -0
  184. package/skills/data360-standard-mapping-mcp-configure/SKILL.md +38 -0
  185. package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +73 -0
  186. package/skills/dx-devops-conflict-resolve/SKILL.md +1 -5
  187. package/skills/dx-devops-pipeline-manage/SKILL.md +1 -5
  188. package/skills/dx-devops-project-manage/SKILL.md +1 -5
  189. package/skills/dx-devops-promote/SKILL.md +1 -5
  190. package/skills/dx-devops-request-status/SKILL.md +1 -5
  191. package/skills/dx-lifecycle-center/SKILL.md +120 -0
  192. package/skills/dx-lifecycle-center/examples/workflows.md +175 -0
  193. package/skills/dx-lifecycle-center/references/connect-api.md +123 -0
  194. package/skills/dx-lifecycle-center/references/connect-org.md +184 -0
  195. package/skills/dx-lifecycle-center/references/deploy.md +153 -0
  196. package/skills/dx-lifecycle-center/references/error-handling.md +21 -0
  197. package/skills/dx-lifecycle-center/references/hub-org.md +37 -0
  198. package/skills/dx-lifecycle-center/references/list-orgs.md +99 -0
  199. package/skills/dx-lifecycle-center/references/request-body.md +75 -0
  200. package/skills/dx-lifecycle-center/references/troubleshooting.md +31 -0
  201. package/skills/dx-lifecycle-center/scripts/poll-deploy-status.sh +200 -0
  202. package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +120 -0
  203. package/skills/dx-org-devhub-configure/SKILL.md +1 -3
  204. package/skills/dx-org-shape-manage/SKILL.md +1 -5
  205. package/skills/dx-org-snapshot-manage/SKILL.md +1 -3
  206. package/skills/education-cloud-academic-calendar-generate/SKILL.md +1 -3
  207. package/skills/education-cloud-course-catalog-migrate/SKILL.md +1 -3
  208. package/skills/education-cloud-domain-configure/SKILL.md +1 -3
  209. package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -3
  210. package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -5
  211. package/skills/experience-afv-query/SKILL.md +234 -0
  212. package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +63 -0
  213. package/skills/experience-apex-components-configure/SKILL.md +69 -0
  214. package/skills/experience-apex-pages-configure/SKILL.md +107 -0
  215. package/skills/experience-app-home-configure/SKILL.md +76 -0
  216. package/skills/experience-aura-lightning-out-access-configure/SKILL.md +58 -0
  217. package/skills/experience-briefcase-configure/SKILL.md +287 -0
  218. package/skills/experience-community-flexi-page-list-create/SKILL.md +74 -0
  219. package/skills/experience-community-template-definition-list-query/SKILL.md +48 -0
  220. package/skills/experience-community-theme-definition-list-query/SKILL.md +38 -0
  221. package/skills/experience-content-assets-configure/SKILL.md +86 -0
  222. package/skills/experience-custom-domain-create/SKILL.md +727 -0
  223. package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +41 -0
  224. package/skills/experience-field-service-app-builder-configure/SKILL.md +187 -0
  225. package/skills/experience-flow-category-configure/SKILL.md +117 -0
  226. package/skills/experience-formula-configure/SKILL.md +358 -0
  227. package/skills/experience-global-actions-configure/SKILL.md +69 -0
  228. package/skills/experience-global-publisher-layouts-configure/SKILL.md +79 -0
  229. package/skills/experience-instrumentation-configure/SKILL.md +64 -0
  230. package/skills/experience-lex-engagement-configure/SKILL.md +50 -0
  231. package/skills/experience-lightning-bolt-open/SKILL.md +12 -0
  232. package/skills/experience-lightning-out-configure/SKILL.md +129 -0
  233. package/skills/experience-lightning-preview-configure/SKILL.md +67 -0
  234. package/skills/experience-lightning-types-query/SKILL.md +98 -0
  235. package/skills/experience-malware-scan-configure/SKILL.md +71 -0
  236. package/skills/experience-my-salesforce-configure/SKILL.md +126 -0
  237. package/skills/experience-navigation-menus-configure/SKILL.md +235 -0
  238. package/skills/experience-notification-types-configure/SKILL.md +206 -0
  239. package/skills/experience-notifications-configure/SKILL.md +75 -0
  240. package/skills/experience-record-discovery-query/SKILL.md +227 -0
  241. package/skills/experience-regenerate-previews-open/SKILL.md +94 -0
  242. package/skills/experience-sales-cloud-mab-configure/SKILL.md +254 -0
  243. package/skills/experience-schema-builder-open/SKILL.md +38 -0
  244. package/skills/experience-simple-record-home-configure/SKILL.md +110 -0
  245. package/skills/experience-static-resources-configure/SKILL.md +74 -0
  246. package/skills/experience-ui-bundle-2gp-deploy/SKILL.md +1 -3
  247. package/skills/experience-ui-bundle-features-generate/SKILL.md +1 -5
  248. package/skills/experience-ui-bundle-mfa-configure/SKILL.md +1 -3
  249. package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +23 -2
  250. package/skills/field-service-data-capture-form-designer-configure/SKILL.md +13 -3
  251. package/skills/field-service-data-capture-migrate/SKILL.md +1 -3
  252. package/skills/field-service-mobile-branding-configure/SKILL.md +17 -3
  253. package/skills/field-service-objective-designer-configure/SKILL.md +72 -379
  254. package/skills/field-service-prework-brief-deployer-configure/SKILL.md +10 -537
  255. package/skills/field-service-scheduling-policy-designer-query/SKILL.md +65 -1093
  256. package/skills/{field-service-setup-orchestrator-get → field-service-setup-coordinate}/SKILL.md +18 -3
  257. package/skills/field-service-sobject-create-configure/SKILL.md +13 -213
  258. package/skills/field-service-voice-to-form-configure/SKILL.md +40 -11
  259. package/skills/field-service-work-plan-configure/SKILL.md +253 -0
  260. package/skills/field-service-work-rule-designer-configure/SKILL.md +121 -95
  261. package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +180 -0
  262. package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +196 -0
  263. package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +106 -0
  264. package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +96 -0
  265. package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +111 -0
  266. package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +250 -0
  267. package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +122 -0
  268. package/skills/fsc-digital-origination-coordinate/SKILL.md +653 -0
  269. package/skills/fsc-digital-origination-demo-run/SKILL.md +225 -0
  270. package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +112 -0
  271. package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +396 -0
  272. package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +336 -0
  273. package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +208 -0
  274. package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +375 -0
  275. package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +83 -0
  276. package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +248 -0
  277. package/skills/fsc-digital-origination-sample-data-create/SKILL.md +206 -0
  278. package/skills/fsc-document-checklist-settings-configure/SKILL.md +57 -0
  279. package/skills/fsc-flexible-hierarchy-configure/SKILL.md +148 -0
  280. package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +1430 -0
  281. package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +471 -0
  282. package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +429 -0
  283. package/skills/fsc-pricing-product-configurator-configure/SKILL.md +150 -0
  284. package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +123 -0
  285. package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +82 -0
  286. package/skills/fsc-product-act3-attributes-create/SKILL.md +249 -0
  287. package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +196 -0
  288. package/skills/fsc-product-act5-considerations-get/SKILL.md +44 -0
  289. package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +384 -0
  290. package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +144 -0
  291. package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +107 -0
  292. package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +189 -0
  293. package/skills/fsc-stage-management-definition-create/SKILL.md +108 -0
  294. package/skills/fsc-stage-management-permissions-assign/SKILL.md +143 -0
  295. package/skills/fsc-stage-management-transitions-configure/SKILL.md +139 -0
  296. package/skills/health-cloud-appt-booking-config-configure/SKILL.md +135 -0
  297. package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +134 -0
  298. package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +136 -0
  299. package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +134 -0
  300. package/skills/health-cloud-care-requests-create/SKILL.md +178 -0
  301. package/skills/health-cloud-initial-configure/SKILL.md +511 -0
  302. package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +1374 -0
  303. package/skills/health-cloud-provider-search-settings-configure/SKILL.md +924 -0
  304. package/skills/health-cloud-referral-management-coordinate/SKILL.md +513 -0
  305. package/skills/health-cloud-timeline-configure/SKILL.md +622 -0
  306. package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +135 -0
  307. package/skills/industries-account-score-settings-query/SKILL.md +78 -0
  308. package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +177 -0
  309. package/skills/industries-ad-product-availability-search/SKILL.md +399 -0
  310. package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +628 -0
  311. package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +73 -0
  312. package/skills/industries-atm-settings-starter-configure/SKILL.md +76 -0
  313. package/skills/industries-batch-document-ai-configure/SKILL.md +196 -0
  314. package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +71 -0
  315. package/skills/industries-branch-management-settings-configure/SKILL.md +89 -0
  316. package/skills/industries-bre-decision-table-access-configure/SKILL.md +367 -0
  317. package/skills/industries-brokerage-settings-configure/SKILL.md +41 -0
  318. package/skills/industries-calendar-sync-settings-configure/SKILL.md +89 -0
  319. package/skills/industries-care-request-settings-configure/SKILL.md +218 -0
  320. package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +54 -0
  321. package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +380 -0
  322. package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +216 -0
  323. package/skills/industries-catalog-process-intake-configure/SKILL.md +219 -0
  324. package/skills/industries-catalog-process-knowledge-configure/SKILL.md +153 -0
  325. package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +168 -0
  326. package/skills/industries-cds-general-settings-configure/SKILL.md +69 -0
  327. package/skills/industries-claim-financial-settings-configure/SKILL.md +169 -0
  328. package/skills/industries-clinical-data-model-settings-configure/SKILL.md +136 -0
  329. package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +105 -0
  330. package/skills/industries-collection-plan-settings-configure/SKILL.md +132 -0
  331. package/skills/industries-comms-service-console-settings-configure/SKILL.md +159 -0
  332. package/skills/industries-compliance-configure/SKILL.md +102 -0
  333. package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +76 -0
  334. package/skills/industries-contact-center-app-layout-configure/SKILL.md +88 -0
  335. package/skills/industries-contact-center-components-configure/SKILL.md +96 -0
  336. package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +95 -0
  337. package/skills/industries-contact-center-user-access-assign/SKILL.md +96 -0
  338. package/skills/industries-course-waitlist-config-configure/SKILL.md +162 -0
  339. package/skills/industries-crisis-center-settings-configure/SKILL.md +84 -0
  340. package/skills/industries-custom-object-settings-configure/SKILL.md +94 -0
  341. package/skills/industries-data-cloud-integration-configure/SKILL.md +88 -0
  342. package/skills/industries-data-space-feature-mappings-configure/SKILL.md +245 -0
  343. package/skills/industries-decision-matrix-builder-configure/SKILL.md +78 -0
  344. package/skills/industries-decision-table-hbase-configure/SKILL.md +87 -0
  345. package/skills/industries-decision-table-version-configure/SKILL.md +74 -0
  346. package/skills/industries-decision-tables-builder-configure/SKILL.md +253 -0
  347. package/skills/industries-decision-tables-configure/SKILL.md +439 -0
  348. package/skills/industries-energy-utilities-configure/SKILL.md +251 -0
  349. package/skills/industries-eu-cloud-multisite-configure/SKILL.md +1008 -0
  350. package/skills/industries-eu-new-connections-configure/SKILL.md +30 -0
  351. package/skills/industries-explainability-msg-template-configure/SKILL.md +135 -0
  352. package/skills/industries-expression-set-message-token-configure/SKILL.md +135 -0
  353. package/skills/industries-field-service-settings-configure/SKILL.md +82 -0
  354. package/skills/industries-form-framework-settings-configure/SKILL.md +30 -0
  355. package/skills/industries-fsc-ai-settings-configure/SKILL.md +57 -0
  356. package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +172 -0
  357. package/skills/industries-fsc-b2b-settings-configure/SKILL.md +61 -0
  358. package/skills/industries-fsc-insurance-settings-configure/SKILL.md +58 -0
  359. package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +103 -0
  360. package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +117 -0
  361. package/skills/industries-fsc-wealth-settings-configure/SKILL.md +99 -0
  362. package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +120 -0
  363. package/skills/industries-fundraising-rfm-configure/SKILL.md +128 -0
  364. package/skills/industries-fundraising-settings-configure/SKILL.md +145 -0
  365. package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +299 -0
  366. package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +87 -0
  367. package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +58 -0
  368. package/skills/industries-hc-score-category-settings-configure/SKILL.md +167 -0
  369. package/skills/industries-health-engagement-settings-configure/SKILL.md +218 -0
  370. package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +131 -0
  371. package/skills/industries-home-health-bundling-policy-create/SKILL.md +50 -0
  372. package/skills/industries-home-health-entity-labels-configure/SKILL.md +29 -0
  373. package/skills/industries-home-health-fsl-package-deploy/SKILL.md +71 -0
  374. package/skills/industries-home-health-fsl-settings-validate/SKILL.md +27 -0
  375. package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +80 -0
  376. package/skills/industries-home-health-guided-setup-configure/SKILL.md +836 -0
  377. package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +55 -0
  378. package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +61 -0
  379. package/skills/industries-home-health-licenses-assign/SKILL.md +27 -0
  380. package/skills/industries-home-health-operating-hours-create/SKILL.md +40 -0
  381. package/skills/industries-home-health-scheduling-policy-create/SKILL.md +41 -0
  382. package/skills/industries-home-health-service-objective-create/SKILL.md +22 -0
  383. package/skills/industries-home-health-skills-create/SKILL.md +31 -0
  384. package/skills/industries-home-health-users-create/SKILL.md +29 -0
  385. package/skills/industries-icm-act3-toggles-configure/SKILL.md +198 -0
  386. package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +361 -0
  387. package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +550 -0
  388. package/skills/industries-integrated-care-management-configure/SKILL.md +168 -0
  389. package/skills/industries-object-enablement-configure/SKILL.md +86 -0
  390. package/skills/industries-tpm-system-processing-service-configure/SKILL.md +64 -0
  391. package/skills/insurance-brokerage-agency-billing-configure/SKILL.md +1 -3
  392. package/skills/integration-apex-settings-configure/SKILL.md +61 -0
  393. package/skills/marketing-e360-email-archiving-configure/SKILL.md +73 -0
  394. package/skills/marketing-message-test/SKILL.md +1 -3
  395. package/skills/nonprofit-fundraising-configure/SKILL.md +240 -0
  396. package/skills/nonprofit-fundraising-configure/references/gotchas.md +26 -0
  397. package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +678 -0
  398. package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +35 -0
  399. package/skills/nonprofit-volunteer-management-model-get/SKILL.md +166 -0
  400. package/skills/nonprofit-volunteer-management-model-get/references/entities.md +315 -0
  401. package/skills/nonprofit-volunteer-management-model-get/references/relationships.md +175 -0
  402. package/skills/nonprofit-volunteer-management-model-get/references/themes.md +143 -0
  403. package/skills/nonprofit-volunteer-management-records-create/SKILL.md +121 -0
  404. package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +284 -0
  405. package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +248 -0
  406. package/skills/nonprofit-volunteer-management-records-create/references/review-format.md +140 -0
  407. package/skills/nonprofit-volunteer-management-records-create/scripts/expand-series.py +632 -0
  408. package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +419 -0
  409. package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_expand_series.py +690 -0
  410. package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +421 -0
  411. package/skills/nonprofit-volunteer-management-structure-generate/SKILL.md +119 -0
  412. package/skills/nonprofit-volunteer-management-structure-generate/references/configuration-decisions.md +159 -0
  413. package/skills/nonprofit-volunteer-management-structure-generate/references/discovery-interview.md +137 -0
  414. package/skills/nonprofit-volunteer-management-structure-generate/references/edge-cases.md +48 -0
  415. package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +75 -0
  416. package/skills/nonprofit-volunteer-management-structure-generate/references/plan-output.md +141 -0
  417. package/skills/platform-custom-field-generate/SKILL.md +1 -0
  418. package/skills/platform-custom-field-generate/references/advanced-picklists.md +5 -5
  419. package/skills/platform-custom-metadata-type-generate/SKILL.md +3 -0
  420. package/skills/platform-custom-object-generate/SKILL.md +4 -0
  421. package/skills/platform-custom-permissions-configure/SKILL.md +687 -0
  422. package/skills/platform-custom-setting-generate/SKILL.md +3 -0
  423. package/skills/platform-datamask-run/SKILL.md +1 -5
  424. package/skills/platform-label-workbench-import-create/SKILL.md +67 -0
  425. package/skills/platform-permission-set-generate/SKILL.md +3 -0
  426. package/skills/platform-privacy-agent-settings-configure/SKILL.md +752 -0
  427. package/skills/platform-salesforce-connect-adapter-generate/SKILL.md +1 -3
  428. package/skills/platform-sandbox-configure/SKILL.md +1 -3
  429. package/skills/platform-value-set-generate/SKILL.md +3 -0
  430. package/skills/sales-call-scoring-configure/SKILL.md +1 -5
  431. package/skills/service-agentforce-channel-configure/SKILL.md +1 -3
  432. package/skills/service-agentforce-human-escalation-configure/SKILL.md +1 -3
  433. package/skills/service-catalog-template-coordinate/SKILL.md +1 -3
  434. package/skills/service-concierge-portal-generate/SKILL.md +1 -3
  435. package/skills/service-email-to-case-configure/SKILL.md +1 -5
  436. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -3
  437. package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -3
  438. package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -3
  439. package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -3
  440. package/skills/service-itsm-agentic-setup-cmdb-access-assign/SKILL.md +1 -3
  441. package/skills/service-itsm-agentic-setup-cmdb-bundle-deploy/SKILL.md +1 -5
  442. package/skills/service-itsm-agentic-setup-cmdb-configure/SKILL.md +1 -3
  443. package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +1 -3
  444. package/skills/service-itsm-agentic-setup-cmdb-discovery-configure/SKILL.md +1 -3
  445. package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -3
  446. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -3
  447. package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +1 -0
  448. package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -3
  449. package/skills/service-itsm-agentic-setup-uel-user-create/SKILL.md +1 -9
  450. package/skills/service-itsm-incident-mgmt-configure/SKILL.md +1 -5
  451. package/skills/service-itsm-incident-priority-configure/SKILL.md +1 -3
  452. package/skills/service-itsm-slack-itservice-configure/SKILL.md +1 -3
  453. package/skills/service-itsm-swarming-configure/SKILL.md +1 -3
  454. package/skills/service-itsm-teams-configure/SKILL.md +1 -3
  455. package/skills/service-itsm-teams-debug/SKILL.md +1 -3
  456. package/skills/service-itsm-teams-employee-agent-configure/SKILL.md +1 -3
  457. package/skills/service-itsm-teams-itdesk-configure/SKILL.md +1 -3
  458. package/skills/service-itsm-teams-itservice-configure/SKILL.md +1 -3
  459. package/skills/service-native-voice-recording-transcription-configure/SKILL.md +1 -3
  460. package/skills/service-omni-agent-users-create/SKILL.md +1 -3
  461. package/skills/service-omni-agent-work-sharing-configure/SKILL.md +1 -3
  462. package/skills/service-omni-attribute-routing-configure/SKILL.md +1 -3
  463. package/skills/service-omni-base-settings-configure/SKILL.md +1 -3
  464. package/skills/service-omni-channel-inventory-analyze/SKILL.md +1 -3
  465. package/skills/service-omni-channel-limits-analyze/SKILL.md +1 -3
  466. package/skills/service-omni-channel-setup-coordinate/SKILL.md +1 -3
  467. package/skills/service-omni-command-center-analyze/SKILL.md +1 -3
  468. package/skills/service-omni-command-center-configure/SKILL.md +1 -3
  469. package/skills/service-omni-permission-set-assign/SKILL.md +1 -3
  470. package/skills/service-omni-presence-status-deploy/SKILL.md +1 -3
  471. package/skills/service-omni-presence-user-config-deploy/SKILL.md +1 -3
  472. package/skills/service-omni-queue-deploy/SKILL.md +1 -3
  473. package/skills/service-omni-queue-members-assign/SKILL.md +1 -3
  474. package/skills/service-omni-queue-routing-config-deploy/SKILL.md +1 -3
  475. package/skills/service-omni-routing-flow-deploy/SKILL.md +1 -3
  476. package/skills/service-omni-service-channel-configure/SKILL.md +1 -3
  477. package/skills/service-omni-sidebar-configure/SKILL.md +1 -3
  478. package/skills/service-omni-skills-based-routing-configure/SKILL.md +1 -3
  479. package/skills/service-omni-supervisor-config-deploy/SKILL.md +1 -3
  480. package/skills/service-omni-supervisor-permset-assign/SKILL.md +1 -3
  481. package/skills/service-omni-supervisor-surface-deploy/SKILL.md +1 -3
  482. package/skills/service-omni-supervisor-users-create/SKILL.md +1 -3
  483. package/skills/service-omni-work-skill-routing-configure/SKILL.md +1 -3
  484. package/skills/tableau-next-asset-create/README.md +0 -65
@@ -0,0 +1,111 @@
1
+ ---
2
+ name: fsc-digital-origination-bre-permissions-assign
3
+ parent: "digital-origination-bre-setup"
4
+ purpose: "Assign and verify the permission sets and Context Service access needed to build and run the lending decision-matrix BREs."
5
+ description: "Assign and verify the permission-set access required to configure and run the Digital Lending decision-matrix Business Rules Engine setups (Disclosures and Consent, Document Upload, and STP applicant eligibility), and enable Context Service so decision-matrix evaluation works. Handles the Digital Lending, Rule Engine Designer, Product Catalog Management Designer/Viewer, and OmniStudio Admin/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 BRE permissions
11
+
12
+ Prepare a specifically identified admin or runtime user for the lending decision-matrix Business Rules
13
+ Engine setups, and enable Context Service so the matrices can be evaluated. This sibling manages access
14
+ and one org-level enablement; it does not create matrices, records, or OmniScripts.
15
+
16
+ ## Inputs
17
+
18
+ - Explicit target-org alias
19
+ - Explicit target user ID or username
20
+ - Role: design-time admin, runtime user, 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 three help articles state the same permission surface. Resolve exact API names from the target org;
27
+ labels can differ by release.
28
+
29
+ | Role | Required product-supplied access |
30
+ |---|---|
31
+ | Set up Digital Lending | Digital Lending permission set |
32
+ | Configure the Business Rules Engine (design time) | Rule Engine Designer AND Product Catalog Management Designer AND OmniStudio Admin |
33
+ | Run the Business Rules Engine (runtime) | Product Catalog Management Viewer AND OmniStudio User |
34
+
35
+ Do not manufacture a custom replacement for a missing product-supplied set. Report a missing
36
+ entitlement 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 `PermissionSetLicenseAssign`
48
+ through standard sObject REST. Assign a missing license before its permission set.
49
+
50
+ ## Context Service enablement
51
+
52
+ Decision-matrix evaluation runs behind the Context Service feature family (`ContextResourceFamily`,
53
+ org gate `IndustriesContext.orgHasIndustriesContextService`). When the gate is off, the matrix
54
+ evaluation and OmniScript decision-matrix action element return HTTP 403 `FUNCTIONALITY_NOT_ENABLED`.
55
+
56
+ Enable it headlessly via the Context Service Connect API — the `preferenceName` must be exactly
57
+ `contextServiceEnabled` (not `ContextService`), and `uniqueIdentifier` is the 18-char Org Id:
58
+
59
+ ```text
60
+ PUT /connect/contextservice/access/contextServiceEnabled/{orgId} {"isEnabled":true}
61
+ ```
62
+
63
+ If the family-level gate itself is not yet on, the PUT cannot reach the resource; in that case stop at
64
+ the Setup checkpoint **Context Service Settings → enable Context Definitions**
65
+ (`/lightning/setup/ContextServiceSettings/home`) and resume after the admin confirms. Verify a gate by
66
+ calling its cheapest live endpoint (e.g. a decision-matrix read) rather than trusting the preference
67
+ read-back, which can lag.
68
+
69
+ Enabling an org preference is an org-wide change: report it explicitly and enable only after confirming
70
+ the target org is the intended one.
71
+
72
+ ## Workflow
73
+
74
+ 1. Confirm org and target user. Query `User` and report username, profile, active state, and user type.
75
+ 2. Resolve each required set by its unique API `Name` first — the `Name` column is unique per org, the
76
+ `Label` is not. Query `PermissionSet` by `Name`, and fall back to `Label` only when the API name is
77
+ unknown. Capture Id, `Name`, `Label`, LicenseId, `NamespacePrefix`, and `IsOwnedByProfile`.
78
+ 3. If a `Label` query returns more than one candidate — common for the OmniStudio sets whose display
79
+ labels (`OmniStudio User`, `OmniStudio Admin`) collide with profile-owned or duplicate sets —
80
+ disambiguate deterministically **before** halting: keep only the product-supplied set
81
+ (`IsOwnedByProfile = false` with a non-null managed `NamespacePrefix`) and de-duplicate on `Name`.
82
+ Stop and ask **only** when two genuinely distinct product-supplied sets still survive that narrowing;
83
+ a profile-owned or namespace-duplicate label collision is NOT a reason to halt. Never guess between
84
+ two real product-supplied sets.
85
+ 4. Query any required `PermissionSetLicense` and existing `PermissionSetLicenseAssign`. Assign a
86
+ missing license before its permission set.
87
+ 5. Query existing `PermissionSetAssignment` records for the target user and candidate set IDs.
88
+ 6. Create only missing assignments. Treat `DUPLICATE_VALUE` as already assigned, then re-query.
89
+ 7. Re-read the assigned permission sets and assignments and verify each is attached to the intended
90
+ user.
91
+ 8. Confirm Context Service is enabled; if not, enable it as above and re-verify with a live endpoint.
92
+
93
+ ## Failure and rollback rules
94
+
95
+ - Missing permission set or license: report the exact missing API/label and stop dependent BRE steps.
96
+ - License-limit failure: do not remove another user's license; report the limit.
97
+ - Assignment failure: preserve successful pre-existing assignments; remove only assignments created by
98
+ this run and only when the user requests rollback.
99
+ - Never edit a standard managed permission set.
100
+
101
+ ## Output contract
102
+
103
+ Return a table with target user, role, permission-set API name/ID, license ID if applicable, prior
104
+ state, action, verified final state, and the Context Service enablement result. Separate blockers from
105
+ optional runtime-user access.
106
+
107
+ ## Definition of done
108
+
109
+ Every required design-time or runtime assignment for the explicitly selected role is present and
110
+ verified in fresh queries, and Context Service reads enabled (or a Setup checkpoint is reported). No
111
+ unrelated user or assignment was changed.
@@ -0,0 +1,250 @@
1
+ ---
2
+ name: fsc-digital-origination-bre-setup-coordinate
3
+ description: "End-to-end orchestrator for the Digital Origination (Digital Lending) Business Rules Engine setups that run on decision matrices: Disclosures and Consent, Document Upload, and Straight-Through Processing (applicant eligibility). Routes an unqualified \"set up the lending BREs\" request through nested sub-skills for permissions, the shared decision-matrix create/activate mechanics, and each of the three feature builds. Use this skill for the whole ordered journey, and use a sibling directly for a narrowed request such as \"create the disclosures and consent decision matrix\" or \"set up the STP eligibility matrix\"."
4
+ metadata:
5
+ version: "1.0"
6
+ ---
7
+
8
+ # Digital Origination Business Rules Engine setup orchestrator
9
+
10
+ Orchestrate the three decision-matrix-based Business Rules Engine setups for **Digital Origination**,
11
+ whose underlying APIs and setup artifacts still use the **Digital Lending** name. This skill owns
12
+ sequencing and state transfer between the sub-skills. It does not duplicate the implementation
13
+ contracts maintained by its nested sub-skills.
14
+
15
+ All three features share the same building block: a Business Rules Engine **decision matrix** (an
16
+ admin-typed lookup of input columns to output columns), created and activated through the shared
17
+ `decision-matrix-foundation` sibling, then populated with feature-specific columns and rows. This is a
18
+ different Business Rules Engine surface from the source-object **decision tables** used by
19
+ `digital-origination-pricing-setup`; do not conflate the two.
20
+
21
+ ## Mandatory prerequisites
22
+
23
+ Before routing to any sibling, verify:
24
+
25
+ 1. Digital Origination Initial Setup is complete. If not, route to
26
+ `fsc-mandalorians/digital-origination-initial-setup` and stop.
27
+ 2. The target org alias and acting admin are explicit.
28
+ 3. The relevant feature is understood: **Disclosures and Consent**, **Document Upload**, and
29
+ **applicant-eligibility STP** are three independent Discovery Framework features. Set up only the
30
+ ones the admin requests.
31
+ 4. The admin has supplied or approved the concrete inputs — products, applicant types, credit-score
32
+ cutoffs, document types, and consent/disclosure text. Help-article examples are never customer
33
+ defaults.
34
+
35
+ ## Ordered journey
36
+
37
+ ```text
38
+ Initial Setup (existing sibling)
39
+ |
40
+ 1. BRE permissions
41
+ |
42
+ 2. Feature build(s), each: decision-matrix-foundation (create + activate) then the feature sibling
43
+ - Disclosures and Consent
44
+ - Document Upload
45
+ - STP applicant eligibility
46
+ ```
47
+
48
+ The three feature builds are independent — run whichever the admin asked for, in any order. Within a
49
+ feature build, always create and activate the matrix shell through `decision-matrix-foundation` before
50
+ the feature sibling loads columns/rows and supporting records. Run one sibling at a time. Do not
51
+ continue after a sibling reports a blocking prerequisite or a manual checkpoint that has not been
52
+ completed.
53
+
54
+ ### Step 1 - BRE permissions
55
+
56
+ Delegate to nested skill `permissions` (emitted SOR
57
+ `fsc-mandalorians/digital-origination-bre-setup-permissions`) with hints such as:
58
+
59
+ - "assign the Digital Lending permission set"
60
+ - "assign Rule Engine Designer and Product Catalog Management Designer"
61
+ - "assign Product Catalog Management Viewer and OmniStudio User for runtime"
62
+ - "enable Context Service for decision-matrix evaluation"
63
+
64
+ Required handoff: target user IDs, resolved permission-set IDs/API names, and a fresh verification of
65
+ every required assignment.
66
+
67
+ ### Step 2 - Decision-matrix foundation (per feature)
68
+
69
+ Delegate to nested skill `decision-matrix-foundation` (emitted SOR
70
+ `fsc-mandalorians/digital-origination-bre-setup-decision-matrix-foundation`) to create the named matrix (a
71
+ `CalculationMatrix` sObject), add its columns (which auto-creates version 1), add its rows, and activate
72
+ it. Pass the exact matrix name, the column contract, and the row values from the feature sibling.
73
+ Required handoff: `CalculationMatrix` id, `CalculationMatrixVersion` id, and a fresh read confirming the
74
+ version's active window (StartDateTime set, EndDateTime null).
75
+
76
+ ### Step 3 - Disclosures and Consent
77
+
78
+ Delegate to nested skill `disclosures-consent` (emitted SOR
79
+ `fsc-mandalorians/digital-origination-bre-setup-disclosures-consent`) with hints such as:
80
+
81
+ - "set up disclosure and consent for a home loan product"
82
+ - "create the data use purpose and authorization form"
83
+
84
+ This sibling drives `decision-matrix-foundation` for a matrix keyed on Product Id / ApplicantType /
85
+ Level with a Data Use Purpose output, and creates the supporting Product, Data Use Purpose, and
86
+ Authorization Form records. Required handoff: matrix ID/version, Data Use Purpose ID, Authorization
87
+ Form ID, and the activated matrix row linking them.
88
+
89
+ ### Step 4 - Document Upload
90
+
91
+ Delegate to nested skill `document-upload` (emitted SOR
92
+ `fsc-mandalorians/digital-origination-bre-setup-document-upload`) with hints such as:
93
+
94
+ - "set up the document upload decision matrix for lending"
95
+ - "create the lending document types"
96
+
97
+ This sibling drives `decision-matrix-foundation` for a matrix keyed on productId / applicantType /
98
+ level with a docTypeLabel output, and reuses the Document Type / Document Category entity SORs.
99
+ Required handoff: matrix ID/version, Document Type API name(s), and the activated matrix row.
100
+
101
+ ### Step 5 - STP applicant eligibility
102
+
103
+ Delegate to nested skill `stp-eligibility` (emitted SOR
104
+ `fsc-mandalorians/digital-origination-bre-setup-stp-eligibility`) with hints such as:
105
+
106
+ - "set up the IsSTPApplication decision matrix"
107
+ - "automatically approve or reject a loan by credit score"
108
+
109
+ This sibling drives `decision-matrix-foundation` for the `IsSTPApplication` matrix (CreditScore input,
110
+ IsSTP output) and then **verifies and activates** the preconfigured `DigitalLendingDFIsSTPApplication`
111
+ OmniScript that references the matrix. Required handoff: matrix ID/version, the live BRE lookup result,
112
+ and the OmniScript verification/activation result.
113
+
114
+ **OmniScript dependency (blocker, not a build).** The `DigitalLendingDFIsSTPApplication` OmniScript
115
+ (type `DigitalLendingDF`, subType `IsSTPApplication`; variant `DigitalLendingDFIsSTPApplicationAAE`) is
116
+ delivered by a Discovery Framework template, not created here. If it is absent, the STP sibling reports
117
+ a blocker; obtain the Discovery Framework / Digital Lending sample-template deployment from its owner
118
+ before completing STP. If it is present but inactive (template deploys land it `IsActive=false`), the
119
+ sibling activates it. Disclosures and Document Upload do not depend on it.
120
+
121
+ ## Narrowed requests
122
+
123
+ | User request | Route |
124
+ |---|---|
125
+ | Assign the BRE / lending permissions only | Nested `permissions` |
126
+ | Create or activate a lending decision matrix shell | Nested `decision-matrix-foundation` |
127
+ | Set up disclosure and consent | Nested `disclosures-consent` |
128
+ | Set up document upload / lending document types | Nested `document-upload` |
129
+ | Set up STP / applicant-eligibility approval | Nested `stp-eligibility` |
130
+
131
+ For a narrowed request, validate that its upstream artifacts (permissions, matrix shell) exist. Do not
132
+ silently run the entire journey when the user asks for one feature.
133
+
134
+ ## Shared invariants
135
+
136
+ - Read before write; reuse a matching matrix, record, or permission-set by exact API name and verified
137
+ shape rather than creating a duplicate.
138
+ - Never infer customer products, applicant types, credit-score cutoffs, document types, or disclosure
139
+ text. Help-article values are examples only.
140
+ - Treat a bare activation 200 as in progress, not success. Require a fresh read of the
141
+ `CalculationMatrixVersion` showing an active window (StartDateTime set, EndDateTime null) before
142
+ advancing — and for a matrix that feeds runtime, additionally require a live BRE lookup
143
+ (`POST /connect/business-rules/decision-matrices/{name}`) that returns an output. A matrix can read
144
+ Active and still return "no output for the specified input" if `CalculationMatrix.Type` is null (the
145
+ derived version `MatrixType` then breaks the lookup) or its row `Name` hashes are wrong; see
146
+ `decision-matrix-foundation`.
147
+ - A guided Setup checkpoint is a valid partial outcome only when the relevant headless write is absent
148
+ or unverified. State exactly what remains and resume after confirmation.
149
+ - Each sibling must produce fresh read-back evidence before this orchestrator advances.
150
+
151
+ ## Definition of done
152
+
153
+ The requested feature build is complete only when:
154
+
155
+ 1. The required permission-set assignments are verified for the acting user, and Context Service is
156
+ enabled for matrix evaluation.
157
+ 2. Each feature's decision matrix exists as a `CalculationMatrix`, carries the exact columns and rows
158
+ for that feature, and its version reads active (StartDateTime set, EndDateTime null) on a fresh read.
159
+ 3. Disclosures and Consent additionally has an active Data Use Purpose and an Authorization Form
160
+ (English locale, with an active default Authorization Form Text and a Data Use junction) linked
161
+ through the activated matrix row.
162
+ 4. Document Upload additionally has the intended Document Type label(s) in the activated matrix row. If
163
+ the `DocumentType` sObject is absent on the org, note it as a supporting-metadata gap (the matrix
164
+ still builds — `docTypeLabel` is a free Text column).
165
+ 5. STP additionally has the `IsSTPApplication` matrix returning a decision from a live BRE lookup, and
166
+ the `DigitalLendingDFIsSTPApplication` OmniScript verified to reference the matrix and Active — or a
167
+ blocker reported if that OmniScript is absent.
168
+ 6. Every manual checkpoint or unresolved gap is explicitly reported. A partial run is never reported
169
+ as complete.
170
+
171
+ ## Individual sibling reference
172
+
173
+ | Sibling | Responsibility | Primary corpus reuse |
174
+ |---|---|---|
175
+ | `permissions` | Digital Lending / Rule Engine / PCM / OmniStudio permission sets and Context Service | `entity/authorization-experience/PermSets` + Context Service enable |
176
+ | `decision-matrix-foundation` | Create, populate, and activate a decision matrix shell | `CalculationMatrix` sObject insert (with `Type="Standard"`) + BRE Taurus decisionmatrix Connect columns API (`post-decision-matrix-columns`) + direct `CalculationMatrixRow` inserts (MD5-hash `Name`) + decision-matrix builder `activate-dmversion` |
177
+ | `disclosures-consent` | Consent matrix plus Data Use Purpose and Authorization Form records | `decision-matrix-foundation` + sObject REST (describe-first) |
178
+ | `document-upload` | Document-type matrix plus lending document types | `decision-matrix-foundation` + `entity/fsc-darksaber/DocumentType` + `entity/fsc-mandalorians/DocumentCategory` |
179
+ | `stp-eligibility` | IsSTPApplication matrix plus OmniScript verification | `decision-matrix-foundation` + OmniStudio read |
180
+
181
+ These are nested source skills. Project Codey compiles each to a parent-qualified sibling SOR and adds
182
+ formal `delegates_to` steps to this parent. Run the Path-B harness on this parent `SKILL.md`; the
183
+ family is merged, ingested, and served together.
184
+
185
+ <!-- skill-validate: ignore-start -->
186
+ <!-- codey:operations start -->
187
+ ## Operations Reference
188
+
189
+ Operations this skill uses — routing and dependency reference.
190
+
191
+ | Operation | Purpose | Status | Call | Depends on |
192
+ |-----------|---------|--------|------|------------|
193
+ | `delegate-digital-origination-bre-setup-permissions` | delegate | — | → `fsc-mandalorians/digital-origination-bre-setup-permissions` | — |
194
+ | `delegate-digital-origination-bre-setup-decision-matrix-foundation` | delegate | — | → `fsc-mandalorians/digital-origination-bre-setup-decision-matrix-foundation` | `delegate-digital-origination-bre-setup-permissions` |
195
+ | `delegate-digital-origination-bre-setup-disclosures-consent` | delegate | — | → `fsc-mandalorians/digital-origination-bre-setup-disclosures-consent` | `delegate-digital-origination-bre-setup-permissions` |
196
+ | `delegate-digital-origination-bre-setup-document-upload` | delegate | — | → `fsc-mandalorians/digital-origination-bre-setup-document-upload` | `delegate-digital-origination-bre-setup-permissions` |
197
+ | `delegate-digital-origination-bre-setup-stp-eligibility` | delegate | — | → `fsc-mandalorians/digital-origination-bre-setup-stp-eligibility` | `delegate-digital-origination-bre-setup-permissions` |
198
+ | `preflight-context-service-enabled` | verify | — | `/connect/context-definitions` | `delegate-digital-origination-bre-setup-permissions` |
199
+ | `preflight-stp-omniscript-present` | verify | — | — | `delegate-digital-origination-bre-setup-permissions` |
200
+ | `permissions-confirm-org-and-target-user` | read | — | `GET /services/data/v63.0/query` | — |
201
+ | `permissions-resolve-permission-sets-by-name` | read | — | `GET /services/data/v63.0/query` | `permissions-confirm-org-and-target-user` |
202
+ | `permissions-assign-required-license` | write | — | `POST /services/data/v63.0/sobjects/PermissionSetLicenseAssign` | `permissions-resolve-permission-sets-by-name` |
203
+ | `permissions-assign-permission-sets` | write | — | `POST /services/data/v63.0/sobjects/PermissionSetAssignment` | `permissions-assign-required-license` |
204
+ | `permissions-enable-context-service` | write | — | `PUT /services/data/v63.0/connect/contextservice/access/contextServiceEnabled/{orgId}` | `permissions-assign-permission-sets` |
205
+ | `permissions-verify-context-service-live` | verify | — | `GET /services/data/v63.0/connect/context-definitions` | `permissions-enable-context-service` |
206
+ | `permissions-verify-assignments` | verify | — | `GET /services/data/v63.0/query` | `permissions-verify-context-service-live` |
207
+ | `decision-matrix-foundation-verify-context-service-gate` | verify | — | `GET /services/data/v63.0/connect/context-definitions` | — |
208
+ | `decision-matrix-foundation-resolve-existing-calculation-matrix` | read | — | `GET /services/data/v63.0/query` | `decision-matrix-foundation-verify-context-service-gate` |
209
+ | `decision-matrix-foundation-create-calculation-matrix` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrix` | `decision-matrix-foundation-resolve-existing-calculation-matrix` |
210
+ | `decision-matrix-foundation-set-matrix-type-standard` | write | — | `PATCH /services/data/v63.0/sobjects/CalculationMatrix/{matrixId}` | `decision-matrix-foundation-create-calculation-matrix` |
211
+ | `decision-matrix-foundation-add-decision-matrix-columns` | write | — | `POST /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/columns` | `decision-matrix-foundation-set-matrix-type-standard` |
212
+ | `decision-matrix-foundation-resolve-auto-created-version` | verify | — | `GET /services/data/v63.0/query` | `decision-matrix-foundation-add-decision-matrix-columns` |
213
+ | `decision-matrix-foundation-verify-decision-matrix-columns` | verify | — | `GET /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/columns` | `decision-matrix-foundation-resolve-auto-created-version` |
214
+ | `decision-matrix-foundation-insert-calculation-matrix-rows` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrixRow` | `decision-matrix-foundation-verify-decision-matrix-columns` |
215
+ | `decision-matrix-foundation-verify-calculation-matrix-rows` | verify | — | `GET /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/versions/{versionId}/rows` | `decision-matrix-foundation-insert-calculation-matrix-rows` |
216
+ | `decision-matrix-foundation-activate-matrix-version` | write | — | `PATCH /headless/invoke/industries/industries-interaction-decisionmatrix/activate-dmversion` | `decision-matrix-foundation-verify-calculation-matrix-rows` |
217
+ | `decision-matrix-foundation-verify-active-window` | verify | — | `GET /services/data/v63.0/query` | `decision-matrix-foundation-activate-matrix-version` |
218
+ | `decision-matrix-foundation-verify-live-bre-lookup` | verify | — | `POST /services/data/v63.0/connect/business-rules/decision-matrices/{matrixName}` | `decision-matrix-foundation-verify-active-window` |
219
+ | `decision-matrix-foundation-edit-rows-on-enabled-version` | write | — | `PATCH /services/data/v63.0/sobjects/CalculationMatrixVersion/{versionId}` | `decision-matrix-foundation-verify-live-bre-lookup` |
220
+ | `disclosures-consent-resolve-or-create-lending-product` | write | — | `GET /services/data/v63.0/query` | — |
221
+ | `disclosures-consent-resolve-or-create-data-use-purpose` | write | — | `GET /services/data/v63.0/query` | `disclosures-consent-resolve-or-create-lending-product` |
222
+ | `disclosures-consent-create-authorization-form` | write | — | `POST /services/data/v63.0/sobjects/AuthorizationForm` | `disclosures-consent-resolve-or-create-data-use-purpose` |
223
+ | `disclosures-consent-create-authorization-form-text` | write | — | `POST /services/data/v63.0/sobjects/AuthorizationFormText` | `disclosures-consent-create-authorization-form` |
224
+ | `disclosures-consent-set-default-auth-form-text` | write | — | `PATCH /services/data/v63.0/sobjects/AuthorizationForm/{authorizationFormId}` | `disclosures-consent-create-authorization-form-text` |
225
+ | `disclosures-consent-link-authorization-form-data-use` | write | — | `POST /services/data/v63.0/sobjects/AuthorizationFormDataUse` | `disclosures-consent-set-default-auth-form-text` |
226
+ | `disclosures-consent-activate-data-use-purpose` | write | — | `PATCH /services/data/v63.0/sobjects/DataUsePurpose/{dataUsePurposeId}` | `disclosures-consent-link-authorization-form-data-use` |
227
+ | `disclosures-consent-resolve-or-create-consent-matrix` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrix` | `disclosures-consent-activate-data-use-purpose` |
228
+ | `disclosures-consent-add-consent-matrix-columns` | write | — | `POST /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/columns` | `disclosures-consent-resolve-or-create-consent-matrix` |
229
+ | `disclosures-consent-insert-consent-matrix-row` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrixRow` | `disclosures-consent-add-consent-matrix-columns` |
230
+ | `disclosures-consent-activate-consent-matrix-version` | write | — | `PATCH /headless/invoke/industries/industries-interaction-decisionmatrix/activate-dmversion` | `disclosures-consent-insert-consent-matrix-row` |
231
+ | `disclosures-consent-verify-consent-matrix-live` | verify | — | `POST /services/data/v63.0/connect/business-rules/decision-matrices/{matrixName}` | `disclosures-consent-activate-consent-matrix-version` |
232
+ | `document-upload-resolve-or-create-lending-product` | write | — | `GET /services/data/v63.0/query` | — |
233
+ | `document-upload-resolve-or-create-document-type` | write | — | `GET /services/data/v63.0/query` | `document-upload-resolve-or-create-lending-product` |
234
+ | `document-upload-resolve-or-create-document-category-and-junction` | write | — | `POST /services/data/v63.0/sobjects/DocumentCategoryDocumentType` | `document-upload-resolve-or-create-document-type` |
235
+ | `document-upload-resolve-or-create-document-upload-matrix` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrix` | `document-upload-resolve-or-create-document-category-and-junction` |
236
+ | `document-upload-add-document-upload-matrix-columns` | write | — | `POST /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/columns` | `document-upload-resolve-or-create-document-upload-matrix` |
237
+ | `document-upload-insert-document-upload-matrix-rows` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrixRow` | `document-upload-add-document-upload-matrix-columns` |
238
+ | `document-upload-activate-document-upload-matrix-version` | write | — | `PATCH /headless/invoke/industries/industries-interaction-decisionmatrix/activate-dmversion` | `document-upload-insert-document-upload-matrix-rows` |
239
+ | `document-upload-verify-document-upload-matrix-live` | verify | — | `POST /services/data/v63.0/connect/business-rules/decision-matrices/{matrixName}` | `document-upload-activate-document-upload-matrix-version` |
240
+ | `stp-eligibility-resolve-or-create-stp-matrix` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrix` | — |
241
+ | `stp-eligibility-add-stp-matrix-columns` | write | — | `POST /services/data/v63.0/connect/omnistudio/decision-matrices/{matrixId}/columns` | `stp-eligibility-resolve-or-create-stp-matrix` |
242
+ | `stp-eligibility-insert-stp-matrix-rows` | write | — | `POST /services/data/v63.0/sobjects/CalculationMatrixRow` | `stp-eligibility-add-stp-matrix-columns` |
243
+ | `stp-eligibility-activate-stp-matrix-version` | write | — | `PATCH /headless/invoke/industries/industries-interaction-decisionmatrix/activate-dmversion` | `stp-eligibility-insert-stp-matrix-rows` |
244
+ | `stp-eligibility-verify-stp-matrix-live` | verify | — | `POST /services/data/v63.0/connect/business-rules/decision-matrices/IsSTPApplication` | `stp-eligibility-activate-stp-matrix-version` |
245
+ | `stp-eligibility-resolve-stp-omniscript` | read | — | `GET /services/data/v63.0/query` | `stp-eligibility-verify-stp-matrix-live` |
246
+ | `stp-eligibility-verify-omniscript-references-matrix` | verify | — | `GET /services/data/v63.0/query` | `stp-eligibility-resolve-stp-omniscript` |
247
+ | `stp-eligibility-activate-omniscript-if-inactive` | write | — | `PATCH /services/data/v63.0/sobjects/OmniProcess/{omniProcessId}` | `stp-eligibility-verify-omniscript-references-matrix` |
248
+ | `stp-eligibility-verify-omniscript-active` | verify | — | `GET /services/data/v63.0/query` | `stp-eligibility-activate-omniscript-if-inactive` |
249
+ <!-- codey:operations end -->
250
+ <!-- skill-validate: ignore-end -->
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: fsc-digital-origination-bre-stp-eligibility-configure
3
+ parent: "digital-origination-bre-setup"
4
+ purpose: "Set up the IsSTPApplication decision matrix that auto-approves or rejects a loan by credit score, and verify the OmniScript that consumes it."
5
+ description: "Set up Straight-Through Processing for Digital Lending applicant eligibility: a Business Rules Engine decision matrix named IsSTPApplication that returns whether a loan application qualifies for automatic approval based on the applicant's credit score. Drives the shared decision-matrix-foundation sibling for the matrix, enforces the exact name the preconfigured DigitalLendingDFIsSTPApplication OmniScript expects, and verifies that OmniScript references the matrix. Treats the OmniScript as a delivered artifact it verifies, not one it creates."
6
+ metadata:
7
+ version: "1.0"
8
+ ---
9
+
10
+ # Digital Origination STP applicant eligibility
11
+
12
+ Automate loan approval by credit score. A decision matrix named `IsSTPApplication` returns whether an
13
+ application qualifies for straight-through processing; the preconfigured `DigitalLendingDFIsSTPApplication`
14
+ OmniScript reads that result to show the applicant a confirm-offer or submitted-offer page. This
15
+ sibling owns the matrix and the verification that the OmniScript is wired to it. It does not create the
16
+ OmniScript.
17
+
18
+ The delivered OmniScript is `DigitalLendingDFIsSTPApplication` (type `DigitalLendingDF`, subType
19
+ `IsSTPApplication`, language `English`; unique key `DigitalLendingDF_IsSTPApplication_English_1`), with an
20
+ Angular/agent-console variant `DigitalLendingDFIsSTPApplicationAAE`. Inside it, the decision-matrix
21
+ **action element is named exactly `IsSTPApplication`** — that element name, not the OmniScript name, is
22
+ what the matrix name must match.
23
+
24
+ Source: Salesforce Help "Applicant Eligibility Check by Using Business Rules Engine for Digital
25
+ Lending" — the sub-topics "Approve or Reject a Loan Automatically" and "Verify the
26
+ DigitalLendingDFIsSTPApplication OmniScript".
27
+
28
+ ## Required inputs
29
+
30
+ - Target-org alias and acting admin.
31
+ - The credit-score cutoff for automatic approval (the example approves at 740 and above, rejects 0–739).
32
+ The cutoff is a customer decision; the example value is not a default.
33
+
34
+ ## Decision matrix contract
35
+
36
+ Drive nested `decision-matrix-foundation` to create and activate a decision matrix with the exact name
37
+ `IsSTPApplication`:
38
+
39
+ | Column header (apiName) | columnType | dataType |
40
+ |---|---|---|
41
+ | `CreditScore` | `Input` | `NumberRange` |
42
+ | `IsSTP` | `Output` | `Boolean` |
43
+
44
+ Row contract (example values — replace with the customer's cutoff):
45
+
46
+ | CreditScore | IsSTP |
47
+ |---|---|
48
+ | `min 0, max 739` | `false` |
49
+ | `min 740, max 9999` | `true` |
50
+
51
+ Use the exact `CalculationMatrixColumn` enum tokens (`NumberRange`, `Boolean`) — not the English
52
+ labels.
53
+
54
+ **Runtime-critical (org-verified): the matrix needs `CalculationMatrix.Type="Standard"`, and its rows are
55
+ direct `CalculationMatrixRow` inserts keyed by an MD5-hash `Name`.** The one thing that stops an
56
+ `IsSTPApplication` matrix from evaluating is a null `Type` on the `CalculationMatrix` — its derived
57
+ `MatrixType` then reads null and the BRE lookup throws "Unsupported Matrix type null", surfaced as
58
+ *"there isn't any output for the specified input parameters."* Set `Type="Standard"` right after creating
59
+ the matrix. Rows are inserted directly as `CalculationMatrixRow` sObjects (the Connect
60
+ `post-decision-matrix-rows` write 500s on the verified org); each row's `Name` MUST be the engine's MD5
61
+ hash of the input columns (for `CreditScore`, `md5("CreditScore" + boundary)`), and its `InputData`
62
+ carries the **band-boundary value as a string** (`{"CreditScore":"0"}`, `{"CreditScore":"740"}` — not a
63
+ `{"min","max"}` object). The `NumberRange` **bands are defined once on the column's `RangeValues`** (a
64
+ comma-separated boundary list, e.g. `0,740,10000`) at column-creation time — it cannot be edited once the
65
+ version is enabled or the matrix has more than one version. Rows can only be written while the version is
66
+ a **draft** (`IsEnabled=false`). Pick a sensible top boundary (e.g. 10000). Delegate the whole
67
+ Type+column+row+activate sequence to `decision-matrix-foundation`, which owns this ordering and the hash
68
+ algorithm.
69
+
70
+ **Name is a hard contract.** The matrix name MUST be exactly `IsSTPApplication`, because it must match
71
+ the decision-matrix action element name inside the `DigitalLendingDFIsSTPApplication` OmniScript. A
72
+ differently named matrix will not drive the applicant's confirm-offer / submitted-offer pages. Do not
73
+ create a variant name.
74
+
75
+ ## OmniScript verification and activation
76
+
77
+ The `DigitalLendingDFIsSTPApplication` OmniScript is **delivered by a Discovery Framework template, not
78
+ created by this sibling.** Verify and activate it:
79
+
80
+ 1. Confirm the `DigitalLendingDFIsSTPApplication` OmniScript exists in the target org (App Launcher →
81
+ OmniStudio → OmniScripts, or a read of the `OmniProcess` by name / by
82
+ `type='DigitalLendingDF' AND subType='IsSTPApplication'`).
83
+ 2. Confirm it contains a decision-matrix **action element** named `IsSTPApplication` — the same name as
84
+ the matrix created above. This is a static read of `OmniProcessElement.PropertySetConfig`
85
+ (`"matrixName":"IsSTPApplication"`), which is present regardless of the OmniScript's active state.
86
+ 3. **Activate it if it is inactive.** Template deploys land the OmniScript `IsActive=false`, version 1.
87
+ Activate by setting `OmniProcess.IsActive=true` (the field is directly updateable) and read it back to
88
+ confirm `isActive:true` with `propertySetConfig` preserved. Only an active version is loadable at
89
+ runtime.
90
+
91
+ **Blocker, not a build.** If the OmniScript is absent, stop and report a blocker: the
92
+ `DigitalLendingDFIsSTPApplication` OmniScript must be deployed from the Discovery Framework / Digital
93
+ Lending sample template, which is owned outside this skill (see `digital-origination-initial-setup` for
94
+ enabling sample templates; materializing the OmniScripts requires deploying the template package).
95
+ Report exactly what is missing and which artifact provides it; do not attempt to author the OmniScript
96
+ here. The matrix build above still completes independently and its result is reported.
97
+
98
+ If the OmniScript exists but references a different action-element name, report the mismatch and the
99
+ required name (`IsSTPApplication`) rather than silently renaming either side.
100
+
101
+ ## Idempotency and rollback
102
+
103
+ - Reuse an exact-match `IsSTPApplication` matrix rather than creating a duplicate; on a shape mismatch
104
+ present the diff and stop.
105
+ - Rollback removes only rows added by this run, and only after confirming the OmniScript does not
106
+ depend on them.
107
+ - Never modify or delete the delivered OmniScript.
108
+
109
+ ## Output contract
110
+
111
+ Return the `IsSTPApplication` matrix ID/version, active status, verified columns and rows, the live BRE
112
+ lookup result proving the matrix evaluates (a credit score above the cutoff returns `IsSTP=true`, below
113
+ returns `false`), and the OmniScript verification result (present, active, and references
114
+ `IsSTPApplication`, or the specific blocker/mismatch).
115
+
116
+ ## Definition of done
117
+
118
+ The `IsSTPApplication` matrix is Active with the approval/rejection rows **and returns a decision from a
119
+ live `POST /connect/business-rules/decision-matrices/IsSTPApplication` lookup** (not merely readable via
120
+ the builder GET), and the `DigitalLendingDFIsSTPApplication` OmniScript is verified to reference it and is
121
+ Active — or the missing-OmniScript blocker is reported explicitly. A partial run is never reported as
122
+ complete.