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

Lead Convert - existing or new account check

When a lead is converted, is it possible to find out, in an Apex trigger, whether the ConvertedAccountId is referecing to an existing Account or an Account created as a result of the conversion? Or in another word, can I find out whether a user selected an existing account or created a new account as part of the lead conversion process?


Use Lead->Before Update Trigger and Check IsConverted Flag is Changed then Find the Related Account ID and determine 

Perhaps I am missing something - I understand how to obtain the account from the converted lead, the question is how to determine whether the account was a new creation (as result from the conversion), or an account that exists before the conversion.