@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,346 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: consumer-goods-visit-and-activity-act3-definition-create
|
|
3
|
-
description: "Act 3 of 9: Creates an event-driven, time-limited Assessment Task Definition (ATD) from the non-standard template. Sets the validity window (ValidFrom/ValidTo) so the activity auto-expires, references the Visit Specification from Act 1 (VisitSpecId), and inherits the non-standard classification (IsStandardTask=false) from the Act 2 template. Depends on Act 1 (Visit Specification) and Act 2 (Activity Template). Part of the 9-Act Retail Execution steel thread."
|
|
4
|
-
metadata:
|
|
5
|
-
version: "1.0"
|
|
6
|
-
cliTools:
|
|
7
|
-
- tool:
|
|
8
|
-
- "sf"
|
|
9
|
-
semver: ">=2.0.0"
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Act 3: Define Non-Standard Activity (Assessment Task Definition)
|
|
13
|
-
|
|
14
|
-
**Part of:** [9-Act Retail Execution Steel Thread](../../README.md)
|
|
15
|
-
**Depends on:** [Act 1 - Visit Specification Setup](../act1-visit-specification/SKILL.md), [Act 2 - Template and Questions](../act2-template-and-questions/SKILL.md)
|
|
16
|
-
**Enables:** [Act 4 - Add Questions](../act4-add-questions/SKILL.md)
|
|
17
|
-
|
|
18
|
-
**Act 3 creates the concrete activity merchandisers complete during store visits. You MUST complete Act 1 (Visit Specification) and Act 2 (non-standard Activity Template) before starting this act — the activity references both.**
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Goal
|
|
23
|
-
|
|
24
|
-
Create an event-driven, time-limited **Assessment Task Definition** (ATD) from the non-standard template — the actual activity merchandisers will complete during store visits (here, a two-week promotional compliance check).
|
|
25
|
-
|
|
26
|
-
**Builder's intent:** "We're running a two-week promotion. I need a one-off activity for it, tied to our store-visit type, that only lives for those two weeks."
|
|
27
|
-
|
|
28
|
-
**What you'll create:**
|
|
29
|
-
1. One `AssessmentTaskDefinition` (ATD) — event-driven, validity-window-bound, referencing the Act 1 Visit Spec and Act 2 template
|
|
30
|
-
|
|
31
|
-
Activities outside the validity window won't be served to field users — the platform automatically enforces temporal boundaries.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## What this Act does
|
|
36
|
-
|
|
37
|
-
1. **Creates the Assessment Task Definition (ATD)** from the non-standard template (`AsmtTskDefTmplId` from Act 2).
|
|
38
|
-
2. **Sets the validity window** (`ValidFrom`/`ValidTo`) — the activity auto-expires outside the window.
|
|
39
|
-
3. **References the Visit Specification** from Act 1 (`VisitSpecId`) — binds the activity to the visit type.
|
|
40
|
-
4. **Classifies as non-standard** (`IsStandardTask = false`, inherited from the template; explicit is safer).
|
|
41
|
-
5. **Configures the task type** (`TaskType` — one of the valid picklist values, e.g. `PromotionCheck` for a promo activity, or `Other`) and **activates** the activity (`IsActive = true`).
|
|
42
|
-
6. **Verifies** the query returns exactly one record with the expected fields (no duplicates).
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## When to use
|
|
47
|
-
|
|
48
|
-
**Invoke this skill when:**
|
|
49
|
-
- You've completed Act 1 (Visit Specification) and Act 2 (non-standard template)
|
|
50
|
-
- You need a concrete, time-boxed activity for a promotion, seasonal campaign, or one-off audit
|
|
51
|
-
- The user asks about "create an activity", "assessment task definition", "event-driven activity", or "promo compliance activity"
|
|
52
|
-
|
|
53
|
-
**Trigger phrases:**
|
|
54
|
-
- "Create the activity"
|
|
55
|
-
- "Define the promo compliance activity"
|
|
56
|
-
- "Set up an event-driven activity with a date range"
|
|
57
|
-
- "Act 3" or "activity definition"
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Prerequisites
|
|
62
|
-
|
|
63
|
-
| Act | Artifact | Required For |
|
|
64
|
-
|-----|----------|--------------|
|
|
65
|
-
| Act 1 | Visit Specification (VisitSpec) | `VisitSpecId` field — binds activity to visit type |
|
|
66
|
-
| Act 2 | Assessment Task Definition Template | `AsmtTskDefTmplId` field — inherits non-standard classification |
|
|
67
|
-
|
|
68
|
-
**Object permissions** — the running user needs **Create** on `AssessmentTaskDefinition` (the object this Act creates) and **Read** on the two Act 2 objects this Act references: `AsmtTskDefTmpl` (ATDT — read via `AsmtTskDefTmplId`) and `AsmtTaskDefTemplateIndDef` (ATDTID — the template-indicator links). Confirm they're granted through the user's profile or an assigned permission set:
|
|
69
|
-
|
|
70
|
-
```sql
|
|
71
|
-
SELECT Parent.Name, Parent.Profile.Name, SobjectType,
|
|
72
|
-
PermissionsRead, PermissionsCreate, PermissionsEdit
|
|
73
|
-
FROM ObjectPermissions
|
|
74
|
-
WHERE (SobjectType = 'AssessmentTaskDefinition' AND PermissionsCreate = true)
|
|
75
|
-
OR (SobjectType IN ('AsmtTskDefTmpl', 'AsmtTaskDefTemplateIndDef') AND PermissionsRead = true)
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Expect three things to hold for the running user's profile or one of their assigned permission sets:
|
|
79
|
-
- `AssessmentTaskDefinition` with `PermissionsCreate = true` — without it the user can't create the activity.
|
|
80
|
-
- `AsmtTskDefTmpl` with `PermissionsRead = true` — needed to read the template referenced by `AsmtTskDefTmplId`.
|
|
81
|
-
- `AsmtTaskDefTemplateIndDef` with `PermissionsRead = true` — needed to read the template-indicator links.
|
|
82
|
-
|
|
83
|
-
If any of the three is missing, grant the corresponding object permission before proceeding.
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Inputs
|
|
88
|
-
|
|
89
|
-
| Variable | Description | Source | Example |
|
|
90
|
-
|---|---|---|---|
|
|
91
|
-
| `ORG_ALIAS` | Target org alias for `sf` CLI commands | Auth session | `my-re-org` |
|
|
92
|
-
| `VISIT_SPEC_ID` | Visit Specification the activity binds to | Act 1 | `1cbxx0000000001AAA` |
|
|
93
|
-
| `ACTIVITY_TEMPLATE_ID` | Non-standard template the activity is created from | Act 2 | `1cDxx0000000001EAA` |
|
|
94
|
-
| `INTERNAL_ORG_UNIT_ID` | Internal Org Unit for scoping (must exist) | Setup data | `0gJxx0000000001EAA` |
|
|
95
|
-
| `VALID_FROM` / `VALID_TO` | Validity window in ISO date format (`yyyy-MM-dd`) | User | `2026-03-01` / `2026-03-14` |
|
|
96
|
-
| `PROMOTION_ID` / `PROMOTION_NAME` | **Promotional activities only** — the Promotion this activity is tied to. Pass the Id directly, or a name to resolve to an Id in Step 1b. | User | `0c8xx0000000001AAA` / `March Endcap Promo` |
|
|
97
|
-
|
|
98
|
-
### Key Concepts (reference before executing)
|
|
99
|
-
|
|
100
|
-
**Assessment Task Definition (ATD)** — the concrete activity instance, created from a template and bound to a Visit Spec. Critical fields:
|
|
101
|
-
|
|
102
|
-
- **ValidFrom / ValidTo (validity window)** — ISO date format (`yyyy-MM-dd`, NOT datetime). The platform hides the activity from field users outside this range. In this workflow **both** this event-driven activity and the standard activity created in Act 5 use the **same** validity window (Act 5 reuses this activity's `ValidFrom`/`ValidTo`).
|
|
103
|
-
- **VisitSpecId** — MUST match the Act 1 Visit Specification. This is the binding contract ("this activity belongs to this visit type"); a mismatch breaks Act 8's visit-activity attachment.
|
|
104
|
-
- **AsmtTskDefTmplId** — MUST point to a template with `IsStandardTask=false`. The template is the classification source of truth; a standard template makes this ATD standard (wrong path).
|
|
105
|
-
- **IsStandardTask** — `false` = event-driven, validity-window-bound. Inherited from the template, but set explicitly as defense.
|
|
106
|
-
- **InternalOrganizationUnitId** — the referenced record must exist or field users get "activity not found".
|
|
107
|
-
- **PromotionId** — *only for promotional activities* (e.g. `TaskType = "PromotionCheck"`). Ties the activity to a specific `Promotion` record. The user passes either the Promotion Id or a promotion name; if they give a name, resolve it to an Id (Step 1b) before creating the ATD. Omit the field entirely for non-promotional activities.
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
## Step-by-step procedure
|
|
112
|
-
|
|
113
|
-
### Step 1: Confirm Carried-Forward IDs
|
|
114
|
-
|
|
115
|
-
This Act consumes three IDs that already exist — don't re-query them by name. Carry them forward:
|
|
116
|
-
|
|
117
|
-
- `VISIT_SPEC_ID` — the Visit Specification from **Act 1** (bound via `VisitSpecId`).
|
|
118
|
-
- `ACTIVITY_TEMPLATE_ID` — the non-standard Activity Template from **Act 2** (referenced as `AsmtTskDefTmplId`).
|
|
119
|
-
- `INTERNAL_ORG_UNIT_ID` — the Internal Org Unit from **Act 1** (referenced as `InternalOrganizationUnitId`).
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
VISIT_SPEC_ID="1cbxx0000000001AAA" # from Act 1
|
|
123
|
-
ACTIVITY_TEMPLATE_ID="1cDxx0000000001EAA" # from Act 2
|
|
124
|
-
INTERNAL_ORG_UNIT_ID="0gJxx0000000001EAA" # from Act 1
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
Optionally confirm the template is still non-standard before building on it (a standard template makes this ATD standard — the wrong path):
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
sf data query \
|
|
131
|
-
--query "SELECT Id, IsStandardTask FROM AsmtTskDefTmpl WHERE Id = '$ACTIVITY_TEMPLATE_ID'" \
|
|
132
|
-
--target-org <org-alias>
|
|
133
|
-
# Expect IsStandardTask = false
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Step 1b: Resolve the Promotion (promotional activities only)
|
|
137
|
-
|
|
138
|
-
**Skip this step for non-promotional activities.** If the user is setting up a promotional activity (e.g. `TaskType = "PromotionCheck"`), they must supply the promotion — either its `PROMOTION_ID` or a promotion name.
|
|
139
|
-
|
|
140
|
-
- **If they gave an Id (`PROMOTION_ID`)** — confirm it exists, then use it as-is:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
sf data query \
|
|
144
|
-
--query "SELECT Id, Name FROM Promotion WHERE Id = '$PROMOTION_ID'" \
|
|
145
|
-
--target-org <org-alias>
|
|
146
|
-
# Expect exactly one row; if zero, the Id is wrong — stop and re-confirm with the user.
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
- **If they gave a name (`PROMOTION_NAME`)** — resolve it to an Id:
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
sf data query \
|
|
153
|
-
--query "SELECT Id, Name FROM Promotion WHERE Name = '$PROMOTION_NAME'" \
|
|
154
|
-
--target-org <org-alias>
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
- **Zero rows** → no such promotion; stop and ask the user for the correct name or Id.
|
|
158
|
-
- **Exactly one row** → capture its `Id` as `PROMOTION_ID`.
|
|
159
|
-
- **More than one row** → the name is ambiguous; show the user the matches and have them pick the right `Id`.
|
|
160
|
-
|
|
161
|
-
Carry the resolved `PROMOTION_ID` into Step 2's payload. For non-promotional activities, leave `PromotionId` out of the payload entirely.
|
|
162
|
-
|
|
163
|
-
### Step 2: Create Assessment Task Definition
|
|
164
|
-
```bash
|
|
165
|
-
POST /services/data/v68.0/sobjects/AssessmentTaskDefinition
|
|
166
|
-
Content-Type: application/json
|
|
167
|
-
|
|
168
|
-
{
|
|
169
|
-
"Name": "Promo Compliance Check",
|
|
170
|
-
"IsActive": true,
|
|
171
|
-
"Description": "Two-week promotion compliance activity for March campaign",
|
|
172
|
-
"AsmtTskDefTmplId": "1cDxx0000000001EAA",
|
|
173
|
-
"IsStandardTask": false,
|
|
174
|
-
"ValidFrom": "2026-03-01",
|
|
175
|
-
"ValidTo": "2026-03-14",
|
|
176
|
-
"VisitSpecId": "1cbxx0000000001AAA",
|
|
177
|
-
"ShouldIncludeSpecAcct": true,
|
|
178
|
-
"ShouldIncludeAssortments": true,
|
|
179
|
-
"TaskType": "PromotionCheck",
|
|
180
|
-
"PromotionId": "0c8xx0000000001AAA",
|
|
181
|
-
"InternalOrganizationUnitId": "0gJxx0000000001EAA"
|
|
182
|
-
}
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
> `PromotionId` is included here because this worked example is a **promotional** activity (`TaskType = "PromotionCheck"`) — use the `PROMOTION_ID` resolved in Step 1b. **Omit this field entirely** for non-promotional activities.
|
|
186
|
-
|
|
187
|
-
**Response:**
|
|
188
|
-
```json
|
|
189
|
-
{
|
|
190
|
-
"id": "0Z4xx0000000001EAA",
|
|
191
|
-
"success": true,
|
|
192
|
-
"errors": []
|
|
193
|
-
}
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
**Save this value** — capture the returned `id` as `ACTIVITY_ID`; Step 3 and every downstream Act reference it by Id (never by name):
|
|
197
|
-
```bash
|
|
198
|
-
ACTIVITY_ID="0Z4xx0000000001EAA"
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
**Field Explanations:**
|
|
202
|
-
|
|
203
|
-
| Field | Type | Required | Purpose |
|
|
204
|
-
|-------|------|----------|---------|
|
|
205
|
-
| `Name` | String(80) | ✅ | Activity name shown to merchandisers |
|
|
206
|
-
| `IsActive` | Boolean | ✅ | Must be true for activity to be served |
|
|
207
|
-
| `Description` | String(255) | ✅ | Business context for the activity. Required on create — omitting it returns `REQUIRED_FIELD_MISSING: [Description]` (a validation rule; the field describes as nillable). |
|
|
208
|
-
| `AsmtTskDefTmplId` | Reference | ✅ | Points to Act 2 template — inherits `IsStandardTask=false` |
|
|
209
|
-
| `IsStandardTask` | Boolean | ✅ | **MUST be false** for event-driven activities. Inherited from template but explicit is safer. |
|
|
210
|
-
| `ValidFrom` | Date | ✅ | Start of validity window (ISO format: yyyy-MM-dd) |
|
|
211
|
-
| `ValidTo` | Date | ✅ | End of validity window. Activity won't be served outside this range. |
|
|
212
|
-
| `VisitSpecId` | Reference | ✅ | Points to Act 1 Visit Spec — binds activity to visit type. **MUST match** for Act 8 attachment to work. |
|
|
213
|
-
| `ShouldIncludeSpecAcct` | Boolean | ⚪ | Include accounts from Visit Spec's ActionPlanAssignedTargets |
|
|
214
|
-
| `ShouldIncludeAssortments` | Boolean | ⚪ | Include product assortments for scoped activities |
|
|
215
|
-
| `TaskType` | Picklist | ✅ | Valid values: `InventoryCheck`, `PlanogramCheck`, `PromotionCheck`, `ConductInStoreSurveys`, `PlaceOrder`, `Other`, `SafetyCheck`, `VehicleCheck`, `AssetAudit`, `PictureAudit`, `AccountTask`. Use `PromotionCheck` for a promo-compliance activity; `Other` when none fit. |
|
|
216
|
-
| `PromotionId` | Reference | ⚪ | **Promotional activities only.** The `Promotion` this activity is tied to — use the `PROMOTION_ID` resolved in Step 1b (from a passed Id or name). Omit for non-promotional activities. |
|
|
217
|
-
| `InternalOrganizationUnitId` | Reference | ✅ | Internal Org Unit — must match for proper scoping |
|
|
218
|
-
|
|
219
|
-
### Step 3: Verify Creation
|
|
220
|
-
|
|
221
|
-
Query the activity by the `ACTIVITY_ID` captured in Step 2:
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
sf data query \
|
|
225
|
-
--query "SELECT Id FROM AssessmentTaskDefinition WHERE Id = '$ACTIVITY_ID'" \
|
|
226
|
-
--target-org <org-alias>
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
**Expected Response:** Exactly one `Id` row — the activity exists.
|
|
230
|
-
```json
|
|
231
|
-
{
|
|
232
|
-
"totalSize": 1,
|
|
233
|
-
"records": [
|
|
234
|
-
{ "Id": "0Z4xx0000000001EAA" }
|
|
235
|
-
]
|
|
236
|
-
}
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Validation
|
|
242
|
-
|
|
243
|
-
Confirm the Assessment Task Definition exists and is configured correctly (Step 3 query returns these values).
|
|
244
|
-
|
|
245
|
-
### Success Criteria
|
|
246
|
-
|
|
247
|
-
- ✓ `IsStandardTask = false` (non-standard classification)
|
|
248
|
-
- ✓ `ValidFrom` and `ValidTo` are set and correct (ISO date format)
|
|
249
|
-
- ✓ `VisitSpecId` matches Act 1's Visit Specification ID
|
|
250
|
-
- ✓ `AsmtTskDefTmplId` matches Act 2's Template ID
|
|
251
|
-
- ✓ `IsActive = true` (activity is live)
|
|
252
|
-
- ✓ `InternalOrganizationUnitId` references an existing `InternalOrganizationUnit` record
|
|
253
|
-
- ✓ Query returns exactly 1 record (no duplicates)
|
|
254
|
-
|
|
255
|
-
---
|
|
256
|
-
|
|
257
|
-
## End state
|
|
258
|
-
|
|
259
|
-
After completing Act 3:
|
|
260
|
-
|
|
261
|
-
- ✅ **Assessment Task Definition created**, classified as event-driven (`IsStandardTask = false`).
|
|
262
|
-
- ✅ **Validity window set** (March 1-14, 2026 in the example) and active.
|
|
263
|
-
- ✅ **Visit Specification referenced** (`VisitSpecId` matches Act 1 — binds to the store visit type).
|
|
264
|
-
- ✅ **Template referenced** (`AsmtTskDefTmplId` matches Act 2 — non-standard classification inherited).
|
|
265
|
-
- ✅ **The activity Id is captured** and ready for Act 4.
|
|
266
|
-
|
|
267
|
-
**At this point:**
|
|
268
|
-
- Act 3 creates the activity container only.
|
|
269
|
-
- No questions are linked to the activity yet — that happens in Act 4 (activity-level `AssessmentTaskIndDefinition` links, the enforceable contract).
|
|
270
|
-
- No accounts are scoped and no visits exist yet — those happen in Acts 7–8.
|
|
271
|
-
|
|
272
|
-
**You are NOT done with the full setup** — this is Act 3 of 9. Proceed to Act 4 (Add Questions).
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## Gotchas and common errors
|
|
277
|
-
|
|
278
|
-
### 1. Validity Window Format
|
|
279
|
-
**Problem:** Passing a datetime (`ValidFrom: "2026-03-01T00:00:00Z"`) instead of a plain date.
|
|
280
|
-
**Behavior:** `ValidFrom`/`ValidTo` are `Date` fields. A datetime string does **not** error — the platform silently coerces it, discarding the time component and storing just the date (`2026-03-01`). This holds via both the `sf` CLI and the raw REST API.
|
|
281
|
-
**Fix:** Always pass a plain ISO date without a time component: `"2026-03-01"`. Don't rely on the coercion — send the date the field expects.
|
|
282
|
-
|
|
283
|
-
### 2. Standard Template Used by Mistake
|
|
284
|
-
**Problem:** `AsmtTskDefTmplId` points to template with `IsStandardTask=true`
|
|
285
|
-
**Symptom:** Activity classified as standard, validity window ignored
|
|
286
|
-
**Fix:** Query template first, verify `IsStandardTask=false`
|
|
287
|
-
|
|
288
|
-
### 3. InternalOrganizationUnitId Invalid
|
|
289
|
-
**Problem:** Org unit id is wrong or the record doesn't exist
|
|
290
|
-
**Error:** `INVALID_CROSS_REFERENCE_KEY`
|
|
291
|
-
**Fix:** Query `SELECT Id, OrganizationName FROM InternalOrganizationUnit WHERE Id = '<id>'` and confirm one row returns before using it. (`InternalOrganizationUnit` has no active/status field.)
|
|
292
|
-
|
|
293
|
-
---
|
|
294
|
-
|
|
295
|
-
## Notes: best practices & architecture
|
|
296
|
-
|
|
297
|
-
**Explicit over inherited.** `IsStandardTask` is inherited from the Act 2 template, but set it explicitly on the ATD as well — it's the classification pivot for the whole activity, and an explicit value protects against a mis-selected template.
|
|
298
|
-
|
|
299
|
-
**Validity window is the event-driven mechanism.** For promotional/seasonal activities, `ValidFrom`/`ValidTo` is what makes the activity auto-appear and auto-expire. The platform enforces this at serve time — no manual activation/deactivation needed.
|
|
300
|
-
|
|
301
|
-
**Where the activity sits in the lifecycle:**
|
|
302
|
-
|
|
303
|
-
```text
|
|
304
|
-
Visit Specification (VisitSpec) ← Act 1: the visit type
|
|
305
|
-
Activity Template (AsmtTskDefTmpl) ← Act 2: the reusable blueprint
|
|
306
|
-
↓ (created from template, bound to spec)
|
|
307
|
-
Activity Definition (AssessmentTaskDefinition) ← Act 3 (this act): the concrete instance
|
|
308
|
-
↓ (questions linked via ATID)
|
|
309
|
-
Questions on activity ← Act 4: the enforceable question contract
|
|
310
|
-
↓
|
|
311
|
-
Visit (AssessmentTask) ← Act 8: field execution
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
Act 3 creates the concrete instance. It references the template's classification and the spec's visit type, but questions become active on the activity only in Act 4.
|
|
315
|
-
|
|
316
|
-
---
|
|
317
|
-
|
|
318
|
-
## Session state to track & handoff
|
|
319
|
-
|
|
320
|
-
> **Internal only — never print this to the user.** These variables (including `act3_complete`) are orchestration bookkeeping. Track them silently to drive the gate below; do **not** echo raw variable names, IDs, or the gate flag into the conversation. When the Act finishes, tell the user only a short plain-language confirmation (e.g., "✅ Act 3 done — your activity is created and live").
|
|
321
|
-
|
|
322
|
-
Pass these forward to Act 4:
|
|
323
|
-
|
|
324
|
-
- `activity_id` — the `Id` of the `AssessmentTaskDefinition` created (e.g., `0Z4xx0000000001EAA`). **Required for Act 4** (question links reference this as `AssessmentTaskDefinitionId`).
|
|
325
|
-
- `activity_name` — the `Name` of the activity (use a unique name to avoid ambiguous later queries).
|
|
326
|
-
- `valid_from` / `valid_to` — the validity window (Act 8 matches visits against this range).
|
|
327
|
-
- `visit_spec_id` — carried from Act 1 (bound via `VisitSpecId`).
|
|
328
|
-
- `act3_complete` — boolean; set to `true` after the Validation checks pass.
|
|
329
|
-
|
|
330
|
-
**Do NOT proceed to Act 4 until `act3_complete = true`.**
|
|
331
|
-
|
|
332
|
-
---
|
|
333
|
-
|
|
334
|
-
## Next Act
|
|
335
|
-
|
|
336
|
-
Proceed to **Act 4: Add Questions** (`../act4-add-questions/SKILL.md`), which creates the `AssessmentTaskIndDefinition` records that link questions to this activity (the enforceable question contract). Downstream: Act 5 (Standard Activity — auto-runs only if Act 1 created a new Visit Spec), Act 6 (Assortments), Act 7 (Account Scoping), Act 8 (Plan Visits & Attach).
|
|
337
|
-
|
|
338
|
-
---
|
|
339
|
-
|
|
340
|
-
## References
|
|
341
|
-
|
|
342
|
-
- **Act 1:** [Visit Specification Setup](../act1-visit-specification/SKILL.md) ← Prerequisite (provides `VisitSpecId`)
|
|
343
|
-
- **Act 2:** [Template and Questions](../act2-template-and-questions/SKILL.md) ← Prerequisite (provides `AsmtTskDefTmplId`)
|
|
344
|
-
- **Act 4:** [Add Questions](../act4-add-questions/SKILL.md) ← Next step
|
|
345
|
-
- **9-Act Steel Thread README:** [../../README.md](../../README.md) ← Full flow
|
|
346
|
-
- **Object Reference:** Salesforce `AssessmentTaskDefinition` object documentation
|