2

I have different Record Types on my opportunity and different Sales Prosses associated with them to be able select different values in picklist field Stage depending on Record Types. I add custom values in picklist field Stage and select them in one Sales Process. But when I am trying to deploy next error occur

Error: Picklist value: not found.
<businessProcesses>
    <fullName>Custom Sales Process</fullName>
    <description>Sales Process for ...</description>
    <isActive>true</isActive>
    <values>
        <fullName>01 New</fullName>
        <default>false</default>
    </values>
    <values>
        <fullName>02 Prospecting</fullName>
        <default>false</default>
    </values>
    <values>
        <fullName>03 Qualifying</fullName>
        <default>false</default>
    </values>
    <values>
        <fullName>custom value 1</fullName>
        <default>false</default>
    </values>
</businessProcesses>

API version in package.xml is 39

Please, help me.

0
11

you need to include StandardValueSet to your package.xml.

to deploy custom values to Opportunity.StageName field use next lines:

<types>
    <members>OpportunityStage</members>
    <name>StandardValueSet</name>
</types>

Not the answer you're looking for? Browse other questions tagged or ask your own question.