You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note
Before you submit your issue, make sure that:
You're using the latest version of Salesforce CLI.
You've searched both open and closed issues for related posts.
You've used the doctor command to diagnose common issues.
You understand that GitHub Issues don't adhere to any agreement or SLA.
If you require immediate assistance, use official channels such as Salesforce Customer Support.
Summary
SchedulingObjective metadata type is not retrieved, deployed, and converted from mdapi to source.
Steps To Reproduce
Get an organization where SchedulingObjective metadata type persists
Try to retrieve it
IMPORTANT
Provide a repository that's configured to reproduce the issue. If you are unable to provide a repo, please explain why not. The more info we have from the start, the faster we can resolve your issue.
We may close your issue if you don't include proper instructions.
Generate a project with sf project generate or fork dreamhouse-lwc.
Provide detailed step-by-step instructions on how to reproduce the issue.
Tip
use sf doctor --create-issue to automatically fill the required information
Expected result
SchedulingObjective metadata should be correctly retrieved and deployed.
If it is retrieved in mdapi format it should correctly converted to source format.
Actual result
During retrieve SchedulingObjective metadata is not retrieved.
During convertion an error "No results to format" is returned.
Additional information
During investigation I found out an exact reason of this problem.
In Metadata API SchedulingObjective metadata has suffix "SchedulingObjective" but in source-deploy-retrieve repository in file metadataRegistry.json it is "schedulingObjective".
Summary
SchedulingObjective metadata type is not retrieved, deployed, and converted from mdapi to source.
Steps To Reproduce
Tip
use
sf doctor --create-issueto automatically fill the required informationExpected result
SchedulingObjective metadata should be correctly retrieved and deployed.
If it is retrieved in mdapi format it should correctly converted to source format.
Actual result
During retrieve SchedulingObjective metadata is not retrieved.
During convertion an error "No results to format" is returned.
Additional information
During investigation I found out an exact reason of this problem.
In Metadata API SchedulingObjective metadata has suffix "SchedulingObjective" but in source-deploy-retrieve repository in file metadataRegistry.json it is "schedulingObjective".
System Information
{ "architecture": "linux-x64", "cliVersion": "@salesforce/cli/2.125.2", "nodeVersion": "node-v22.18.0", "osVersion": "Linux 6.17.0-14-generic", "rootPath": "/usr/local/lib/node_modules/@salesforce/cli", "shell": "bash", "pluginVersions": [ "@oclif/plugin-autocomplete 3.2.40 (core)", "@oclif/plugin-commands 4.1.40 (core)", "@oclif/plugin-help 6.2.37 (core)", "@oclif/plugin-not-found 3.2.74 (core)", "@oclif/plugin-plugins 5.4.56 (core)", "@oclif/plugin-search 1.2.38 (core)", "@oclif/plugin-update 4.7.19 (core)", "@oclif/plugin-version 2.2.36 (core)", "@oclif/plugin-warn-if-update-available 3.1.55 (core)", "@oclif/plugin-which 3.2.43 (core)", "@salesforce/cli 2.125.2 (core)", "agent 1.30.6 (core)", "apex 3.9.10 (core)", "api 1.3.10 (core)", "auth 4.1.6 (core)", "code-analyzer 5.2.2 (user) published 253 days ago (Tue Jun 24 2025) (latest is 5.10.0)", "data 4.0.73 (core)", "deploy-retrieve 3.24.11 (core)", "info 3.4.105 (core)", "limits 3.3.78 (core)", "marketplace 1.3.10 (core)", "org 5.9.69 (core)", "packaging 2.25.5 (core)", "schema 3.3.94 (core)", "settings 2.4.57 (core)", "sobject 1.4.84 (core)", "telemetry 3.8.0 (core)", "templates 56.9.3 (core)", "trust 3.7.114 (core)", "user 3.6.52 (core)" ] }