All Collections
Problem analyzers
RecordType picklist values must exist on target
RecordType picklist values must exist on target
Alex Walter avatar
Written by Alex Walter
Updated over a week ago

This problem analyzer helps resolve issues for objects that have values in recordTypes for picklists where values for the picklist are not referenced in fields.

What triggers this problem analyzer?

This problem analyzer can be triggered if you have an object with a picklist value in recordTypes that has not been declared in fields. For example, the picklist value "UnreferencedPicklistValue" (unlike "SomePicklistValue1"), has not been declared in the list of valueSet for fields in the following object:

What problem is it solving?

Salesforce will not allow a RecordType with an unreferenced picklist value to be deployed or validated. It will fail with Picklist value: XXXX in picklist: YYYY not found.

How does it work?

Gearset will offer the option to remove the unreferenced picklistValues from the deployment. This will allow the validation or deployment to succeed.

Did this answer your question?