QUESTION:
I am trying to perform a Lead to Contact deduplication but I keep encountering an error that says "invalid convertedStatus ". How can I resolve?
The error will look something like this:
DemandTools:
Lead to contact dedupe,"Convert",,,00Q9000000O6MF7EAN,,,,"Status Code: 114 Error: invalid convertedStatus: Contacted"
DupeBlocker auto-conversion:
*** Exception Message: ConvertLead failed. First exception on row 0; first error: INVALID_STATUS, invalid convertedStatus: Qualified: []
DupeBlocker manual conversion:
DML Error Message: invalid convertedStatus: Qualified
ANSWER:
This error is due to either:
- Not having an active Lead Process defined in Salesforce associated with your Lead record types
- Having a Lead Process defined but not having the specific Lead Status noted in the logfile associated with that Lead Process
- Not associating the Lead Process that includes the noted status (in the examples above "Contacted" or "Qualified" with the record type of the Leads that are selected for conversion
The Lead Process is needed to define valid picklist values for Lead Statuses that can be used with specific Lead record types.
Contact Salesforce.com directly for more information on Lead Processes, Lead Statuses and Record Types as this is their requirement when converting Leads. DemandTools and DupeBlocker call in their conversion code to execute the actual conversion. Attempting to convert one of the leads that error'd out directly in the Salesforce User Interface would result in the same error.