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"
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.
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.
005393387

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.