Name of the deployment preview error
Unknown picklist value
Sample error message
Unknown picklist value "Middleware" on salesforce.SBQQ__ProductFeature__c.instance.Display.SBQQ__Category__c, Supported values are ["Hardware","Software"]
When will I see this deployment preview error?
This error occurs when you are deploying a data instance, for example, a CPQ data record, and the record contains a value on a picklist field, and said value doesn't exist.
For example, imagine you are deploying a Product Feature record and the SBQQ__Category__c
field (picklist) is set to Middleware
.
However, the SBQQ__Category__c
field only has 2 picklist values, Hardware
and Software
.
How does this affect my deployment?
This is only a warning and will not prevent the data record from being deployed.
Furthermore, in the example above, the value Middleware
will be added to the picklist definition. This may or may not be what you intend.
How can I fix this error?
Ensure that the picklist field has all the values that you are using in your data records.
You can learn more about deployment preview errors here.