Wednesday, July 3, 2019

Salesforce Unrestricted Picklists and Inactive Values

File this under Esoteric:

Any new values entered into an unrestricted picklist field will cause new inactive picklist values to be created.

The only documentation I could find:

When inserting an unrestricted picklist field that does not have a PicklistEntry, the system creates an “inactive” picklist value. This value can be promoted to an “active” picklist value by adding the picklist value in the Salesforce user interface.

When creating new, inactive picklists, the API checks to see if there is a match. This check is case-insensitive.