Salesforce sync error due to Process workflow - Unable to convert lead that is in use by workflow
Problem Statement
Chargebee triggers lead conversion during sync when "Find and convert leads" is enabled, but the conversion fails with an error that the lead is in use by a workflow.
Solution
Lead conversion fails when the lead is locked by Salesforce processes. Chargebee cannot convert a lead in either of these cases:
- Time-based workflow or Process Builder: A time-based workflow action or Process Builder time-based action is pending on the lead.
- Approval process: The lead is in an active approval process.
Resolve or complete these processes in Salesforce so the lead is available for conversion, then retry the sync.
Was this article helpful?