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

What triggers this problem analyzer?

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 unreferenced picklist  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?