Controlling field value not found
Detection
- RegExp:
Error (.*) Control field value (.*) not found, valid values are (.*)
Examples
Error Account.Sub_Region__c Control field value EMEA not found, valid values are APAC, AMER
Resolution
Dependent picklist {1} uses the controlling value {2}, which the controlling field does not have in the target org.
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Or deploy the controlling field (or its StandardValueSet or GlobalValueSet) with value {2} in the same Pull Request
- Or remove the <valueSettings> blocks of {2} from {1}