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
Jeff SusichJeff Susich 

Flow is looking up the wrong record

I have to create a Flow that converts a Contact to a Lead. Yes, it's unusual. I want to take some of the fields off of the Contact and create a new Lead. 
I am launching the Flow with a custom button on the Contact page layout with this URL:
/flow/Sbizwycado/Convert_Contact_to_Lead?varContactId={!Contact.Id}

My flow begins with a Lookup of the Contact:

User-added image
I pass the Id of the Contact into varContactId. But it looks up OTHER Contacts. I put a screen in to show some fields on the Contact being looked up, and it's the wrong Contact. I can't figure out how this is happening. I tried deleting the Contact it looks up, but it then just finds another Contact, not the Contact record I am launching the flow from. Any help appreciated. 
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Jeff

Add filter criteria for the recordId passed in the record lookup.
Add row then Select Id equals {!varContactId}.

Cheers!!!
Jeff SusichJeff Susich
I have tried both of these below and I can't get it to work yet. 
User-added image

User-added image
Jeff SusichJeff Susich
This worked. User-added image