Invalid picklist error when deploying the State and Country picklists' Country Code as criteria for a Sharing Rule
Last updated 2022-10-06 ·Reference W-6480476 ·Reported By 23 users
Users could encounter an error when deploying Sharing Rules that use a Country Code picklist field as sharing criteria via Change Sets or packaging.
1. Configure and Enable State and Country picklists for your organization
2. Create an Account Sharing Rule and set the criteria to share as Billing Country Code equals 'US'
3. Create a change set including this Sharing Rule and upload to another environment
4. Attempt to validate in the target organization - you will encounter this error "Picklist value does not exist"
If possible, use the Country field as the sharing criteria or recreate the sharing rule in the target organization manually.
Reported By (23)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.