Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Record Type Metadata Deployment Fails When Referencing Inactive Standard Picklist Values (StandardValueSet)

게시 일자: Aug 25, 2026
상세 설명

During a metadata deployment, a Record Type can contain assignments for specific picklist values. For example, a Record Type may specify that the value should be available for the picklist.

If the value is inactive in the target org, the deployment can fail even though the value already exists.

For example:

<picklistValues>
    <picklist>GenderIdentity</picklist>
    <values>
        <fullName>Female</fullName>
        <default>false</default>
    </values>
    <values>
        <fullName>Male</fullName>
        <default>false</default>
    </values>
    <values>
        <fullName>Nonbinary</fullName>
        <default>false</default>
    </values>
<values> <fullName>Not Listed</fullName> <default>false</default> </values> </picklistValues>

For example: If Nonbinary is inactive in the target org, the deployment can fail with: "Picklist value: Nonbinary in picklist: GenderIdentity not found"

Why does this happen?

During deployment, Salesforce reads the picklist values requested by the Record Type. For standard value sets, the deployment process checks the values that are currently active.

An inactive value is therefore not found during the value-matching process, even though the value exists in the org.

Note : The Record Type deployment does not activate the inactive standard picklist value.This is different from some custom picklist scenarios, where deploying the picklist metadata can reactivate an existing inactive value.

 

솔루션

Resolution Steps 

1.Validate the StandardValueSet metadata for the affected standard picklist in the standardValueSet-meta.xml file.

2.Verify whether the required standard picklist values are active in the target org.

3.If the required values are inactive, activate them in the target org and redeploy the Record Type metadata.

Note : When retrieving a StandardValueSet, inactive values may not be included in the retrieved metadata. If an inactive value is required for the deployment, manually add the value to the standardValueSet-meta.xml file before deploying.Once the required standard picklist value is activated, the Record Type metadata deployment should complete successfully.

Knowledge 기사 번호

005393387

 
로드 중
Salesforce Help | Article