0

I am trying to deployed opportunity record type and business process but it is showing the error :

 File Name:    objects/Opportunity.object
   Full Name:  Opportunity.Third Party Fee Page
   Action:  NO ACTION
   Result:  FAILED
   Problem: Picklist value: Closed - Unresponsive not found

   File Name:    objects/Opportunity.object
   Full Name:  Opportunity.Third Party Negotiation
   Action:  NO ACTION
   Result:  FAILED
   Problem: Picklist value: Closed-Duplicate not found

   File Name:    objects/Opportunity.object
   Full Name:  Opportunity.Allied_Comp_Loss
   Action:  NO ACTION
   Result:  FAILED
   Problem: Picklist value: Best Case in picklist: ForecastCategoryName not found

Can you please tell me how can retrieve picklist value from the source org or removed the error

  • 1
    Can you share your package.xml file? – Reshma Dec 20 '18 at 12:29
  • <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Package xmlns="soap.sforce.com/2006/04/metadata"> <types> <members>Opportunity.Allied_Comp_Loss</members> <name>RecordType</name> </types> <types> <members>Opportunity.Allied Comp Loss</members> <name>BusinessProcess</name> </types> <version>38.0</version> </Package> – Harshit Dec 20 '18 at 12:41
  • Add your packge.xml code by edit. Also please update it to latest version in file and try. – Reshma Dec 20 '18 at 12:49
1

You need to deploy changes to fields upon which your Opportunity Sales Process and Record Type are dependent alongside those metadata entities. Opportunity.StageName is a dependency for your customized Sales Process.

Upon review I'm actually not sure how to deploy changes to ForecastCategoryName. It may be part of ForecastingSettings.

As cropredy points out, handling Opportunity.StageName is treated via the StandardValueSet Metadata API entity, because these aren't custom fields as the first version of my answer erroneously treated them. The value set name for Opportunity.StageName is OpportunityStage.

  • not StandardValueSet ? – cropredy Dec 20 '18 at 18:31
  • @cropredy Sigh. I should turn my brain on first. Thanks. You also made me realize there's no StandardValueSet for forecast category names. I don't use forecasting and I'm not sure where that lives or if it varies between collaborative/customizable forecasting - do you know? – David Reed Dec 20 '18 at 18:51
  • regrettably, no - forecast category was something I haven't dealt with in a long time and I'm sure I probably manually made changes in PROD :-) . - there is this metadataAPI type for collab developer.salesforce.com/docs/atlas.en-us.api_meta.meta/… and global picklist for otherwise: developer.salesforce.com/docs/atlas.en-us.api_meta.meta/… worth investigating – cropredy Dec 20 '18 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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