Summary
When creating a scratch org with the feature "ServiceCloudVoicePartnerTelephony:3" the scratch org creates - the server side seems to be correct. However, the cli reports
Warning: Scratch org definition validation issues in orgConfig:
features.3: Invalid input
Steps To Reproduce
Use the following config/project-scratch-def.json
{
"orgName": "CodeyIsMyPartner",
"edition": "Enterprise",
"features": [
"AddCustomRelationships:10",
"FieldService:3",
"NumPlatformEvents:10",
"ServiceCloudVoicePartnerTelephony:3",
"AnalyticsAdminPerms",
"API",
"AuthorApex",
"DebugApex",
"EnableSetPasswordInApi",
"EventLogFile",
"FieldAuditTrail",
"LightningServiceConsole",
"PersonAccounts",
"PlatformCache",
"PlatformEncryption",
"ServiceCloud",
"ServiceUser"
],
"settings": {
"apexSettings" : {
"enableCompileOnDeploy": true,
"enableDisableParallelApexTesting":false,
"enableGaplessTestAutoNum": true,
"enableNonCertifiedApexMdCrud": true
},
"accountSettings": {
"enableAccountHistoryTracking": true,
"enableContactHistoryTracking": true,
"enableAccountTeams": true
},
"communitiesSettings": {
"enableNetworksEnabled": true
},
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
},
"caseSettings": {
"systemUserEmail": "dev-support@Vacatia.com"
},
"nameSettings": {
"enableMiddleName": true,
"enableNameSuffix": true
},
"ServiceCloudVoiceSettings": {
"enableServiceCloudVoice": true,
"enableAmazonQueueManagement": true,
"enableDefaultChannelForSCV": true,
"enableSCVExternalTelephony": true
},
"fieldServiceSettings": {
"fieldServiceOrgPref": true
},
"enhancedNotesSettings": {
"enableEnhancedNotes": true
},
"omniChannelSettings": {
"enableOmniChannel": true,
"enableOmniSkillsRouting": true
}
}
}
Then run
sf org scratch create -f config/project-scratch-def.json -a newScratchOrgTest -d -w 10 -y 30 -v BestDevHubEVAR
Because this doesn't relate to metadata, but rather to scratch org creation, I've not provided a full project. Everything needed to reproduce is in this issue.
Additional Info
I believe the issue is that the core/lib/schema/project-scratch-def/faturs.jsfile references the two zod schemas for pattern features and simple features, and 'ServiceCloudVoicePartnerTelephony' is mis-categorized as a simple feature, when in fact it is a pattern feature.
System Information
CLI:
@salesforce/cli/2.145.6 darwin-arm64 node-v24.5.0
Plugin Version:
@oclif/plugin-autocomplete 3.2.53 (core)
@oclif/plugin-commands 4.1.60 (core)
@oclif/plugin-help 6.2.53 (core)
@oclif/plugin-not-found 3.2.88 (core)
@oclif/plugin-plugins 5.4.84 (core)
@oclif/plugin-search 1.2.53 (core)
@oclif/plugin-update 4.7.55 (core)
@oclif/plugin-version 2.2.50 (core)
@oclif/plugin-warn-if-update-available 3.1.68 (core)
@oclif/plugin-which 3.2.58 (core)
@octoberswimmer/aer-sf-plugin 0.0.2 (user)
@salesforce/cli 2.145.6 (core)
agent 1.44.5 (core)
apex 3.9.39 (core)
api 1.3.50 (core)
auth 4.4.7 (core)
code-analyzer 5.9.0 (user)
data 4.0.112 (core)
deploy-retrieve 3.24.59 (core)
dev 2.5.1 (user)
info 3.4.151 (core)
limits 3.3.92 (user)
marketplace 1.3.41 (core)
org 5.11.22 (core)
packaging 2.30.4 (core)
schema 3.3.129 (core)
settings 2.4.96 (core)
signups 2.6.56 (user)
sobject 1.4.123 (core)
source 3.5.21 (user)
telemetry 3.8.31 (core)
templates 56.19.0 (core)
trust 3.8.38 (core)
user 3.10.7 (core)
lightning-flow-scanner 6.17.3 (user)
sfdx-git-delta 6.45.1 (user)
SF ENV. VARS.
SF_TARGET_DEV_HUB,prod
SF_AUTOUPDATE_DISABLE,true
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: false
Shell: zsh
Channel: stable
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - can access: https://test.salesforce.com
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
Summary
When creating a scratch org with the feature "ServiceCloudVoicePartnerTelephony:3" the scratch org creates - the server side seems to be correct. However, the cli reports
Steps To Reproduce
Use the following config/project-scratch-def.json
{ "orgName": "CodeyIsMyPartner", "edition": "Enterprise", "features": [ "AddCustomRelationships:10", "FieldService:3", "NumPlatformEvents:10", "ServiceCloudVoicePartnerTelephony:3", "AnalyticsAdminPerms", "API", "AuthorApex", "DebugApex", "EnableSetPasswordInApi", "EventLogFile", "FieldAuditTrail", "LightningServiceConsole", "PersonAccounts", "PlatformCache", "PlatformEncryption", "ServiceCloud", "ServiceUser" ], "settings": { "apexSettings" : { "enableCompileOnDeploy": true, "enableDisableParallelApexTesting":false, "enableGaplessTestAutoNum": true, "enableNonCertifiedApexMdCrud": true }, "accountSettings": { "enableAccountHistoryTracking": true, "enableContactHistoryTracking": true, "enableAccountTeams": true }, "communitiesSettings": { "enableNetworksEnabled": true }, "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "mobileSettings": { "enableS1EncryptedStoragePref2": false }, "caseSettings": { "systemUserEmail": "dev-support@Vacatia.com" }, "nameSettings": { "enableMiddleName": true, "enableNameSuffix": true }, "ServiceCloudVoiceSettings": { "enableServiceCloudVoice": true, "enableAmazonQueueManagement": true, "enableDefaultChannelForSCV": true, "enableSCVExternalTelephony": true }, "fieldServiceSettings": { "fieldServiceOrgPref": true }, "enhancedNotesSettings": { "enableEnhancedNotes": true }, "omniChannelSettings": { "enableOmniChannel": true, "enableOmniSkillsRouting": true } } }Then run
sf org scratch create -f config/project-scratch-def.json -a newScratchOrgTest -d -w 10 -y 30 -v BestDevHubEVARBecause this doesn't relate to metadata, but rather to scratch org creation, I've not provided a full project. Everything needed to reproduce is in this issue.
Additional Info
I believe the issue is that the
core/lib/schema/project-scratch-def/faturs.jsfile references the two zod schemas for pattern features and simple features, and 'ServiceCloudVoicePartnerTelephony' is mis-categorized as a simple feature, when in fact it is a pattern feature.System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - can access: https://test.salesforce.com
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest