I have created a package.xml and added opportunity object from my sandbox. Then I have created a sfdx package but while versioning the package I am getting error from business process values. Error- "Opportunity.Bundle Opportunity: Picklist value: Negotiation not found".  Note: My approaches: 1. I have tried to delete the business process metadata from my package but still different error is coming as its related to record types. 2. Tried to delete all values from business process, then also getting errors

Can any one help me on this. How to solve this?

1 Answer 1


You'll want to get the stage names:

sfdx force:source:retrieve -m StandardValueSet:OpportunityStage

You can then build your unlocked package properly.

  • Thanks for your comments its fine now.
    – Raj SF
    Nov 20, 2019 at 17:28
  • Hi, I am facing same kind of issue in Case object as well. I ran the cmd sfdx force:source:retrieve -m StandardValueSet:status but its retriving the case status picklist field values. Could you please tell me what should I do?
    – Raj SF
    Nov 22, 2019 at 5:58
  • @Ananga It should be StandardValueSet:CaseStatus. You'll want to check the documentation for the proper names to use. They are case sensitive.
    – sfdcfox
    Nov 22, 2019 at 13:03
  • thanks.. got it now
    – Raj SF
    Nov 24, 2019 at 9:51
  • I am facing one different error in case object while versioning the package.Error : "Case.Recordtypename: duplicate value found: <unknown> is a duplicate of the value in the record with the following ID: <unknown>" . I check all picklist values in recordtype and there is no duplicate values present. Could you please help me on this. What is the reason of the error.
    – Raj SF
    Nov 24, 2019 at 12:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .