Cannot change which global value set this picklist uses deployment errorDeploying picklist fields in Copado, you might receive a deployment error that looks like this:
"Cannot change which global value set this picklist use"
This is a Salesforce limitation regarding global picklists fields. The conversion of an existing field from regular to global picklist is not allowed by Salesforce.
If your source org was converted to use global picklist and your target org is still using these standard picklists, you might run into this issue. When you deploy, Salesforce will try to convert the existing field in the target org for using global picklist but it will not be able due to the mentioned limitation.
You will need to manually convert the field in the target org. You can follow these steps:
- Create a new field and use global picklist.
- Remove the old field.
- Rename the new field and make sure it matches the old field name.