This problem analyzer helps resolve issues for objects that have
picklists where a
picklist is not referenced in
What triggers this problem analyzer?
This problem analyzer is triggered if you have an object with a
recordTypes that has not been declared in
fields. For example, in the
recordType "RecordTypeWithMissingReference" the
picklistValue "UnreferencedPicklist" (unlike "PicklistField__c"), has not been declared in the
fields in the following object:
This problem is often because a
picklist field was deleted on the source side and the record type was not updated.
What problem is it solving?
Salesforce needs to have the
picklist referenced in
recordTypes to be declared in
fields otherwise it will fail validation and deployment with a message such as
Global value set 'XXXX' in record type 'YYYY' on the entity 'ZZZZ' cannot be resolved.
How does it work?
Gearset will offer the option to remove the unreferenced
picklist from the deployment from
recordTypes. This will allow the validation or deployment to succeed.