After a lead conversion, I have to redirect the user to a Visualforce page (saveUrl on the URL) to examine some fields of the account to redirect the user then (depend of the values of the account fields).

Is it possible in Apex to get the account's Id of the lead after his conversion if I only have the lead's id?

Thank for the responses.

1 Answer 1


Yep - requery the lead record and look for convertedAccountId field. Google 'lead sobject' for sobject description of this.

  • It works ! Thanks, you are my hero ! :)
    – Oupat
    Feb 6, 2015 at 11:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .