• subhadip das
  • -1 Points
  • Member since 2021

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1

We're doing a custom Lead Convert through Apex code.  We use setConvertedStatus = 'Qualified' when we convert the Lead.  This works fine.  The thing is, when we query for the Converted Lead in execute anonymous with:


Lead l = [Select Status, isConverted from Lead where Id = :convertedId];


isConverted is true, but the Status does not change to Qualified, despite this being a valid option in the picklist.  Instead, it remains as "Open" which is a non-converted Status.


I thought Lead.Status changes to reflect LeadConvert.setConvertedStatus ?