function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Elad Kaplan 35Elad Kaplan 35 

Deployment Error Picklist value in picklist not found

I'm trying to deploy a Lead custom picklist and values which one of them is "Completed ", which is included in a Lead Business Process using SFDX ' sfdx force:mdapi:deploy' and getting an error : "Picklist value: Completed not found".
The Lead object file includes the field and it's values, including this field.
I am using package.xml version 48.0

Anybody?
AnudeepAnudeep (Salesforce Developers) 
Hi Elad, 

You need to include StandardValueSet in your package.xml to resolve the issue 

There have been discussions around this in the forums which say the same. See the following examples

https://salesforce.stackexchange.com/questions/179186/error-picklist-value-in-picklist-not-found-opportunity-stage-sales-process/179190

https://developer.salesforce.com/forums/?id=9062I000000IMpoQAG

If you find the information provided above helpful, please mark this answer as Best. It may help others in the community. Thank You!

Anudeep
Elad Kaplan 35Elad Kaplan 35
Hi Anudeep, 

Do I need to add this field to the StandardValueSet file even if this is a custom picklist and not a standard one?

Thanks!

Elad