function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
savakisavaki 

restoring an object that references a converted lead

I have a custom app that contains SObjects that reference converted leads.  When I attempt upgrade my app and restore the references to the converted leads, Salesforce returns a 'cannot reference converted lead' error.
Consequently, I can't upgrade my app without breaking the reports, dashboards, and other SObjects which make use of that lead reference.

Do you have any workarounds you can suggest for this?  Also, would it be possible in future releases to allow custom apps to reference special fields like the id of a converted lead?