web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Need to attach contact to Lookup out of box

(0) ShareShare
ReportReport
Posted on by 55

Hi All,

I am creating contact record when Lead record is created by using workflow. 

now i have a contact lookup field in Lead form so i want to attach contact name into Lookup field which is created along with Lead record .

any one please give me a solution for this.

Thanks.

srini.

I have the same question (0)
  • LuHao Profile Picture
    40,890 on at
    RE: Need to attach contact to Lookup out of box

    Hi partner,

    You want to populate the Contact lookup field in the Lead form with the created contact record, right?

    If so, could you provide more information of the problem?

    Because according to your description, the contact has nothing to do with the Lead.

  • Srinivasareddy Sagili Profile Picture
    55 on at
    RE: Need to attach contact to Lookup out of box

    HI Thanks for the reply

    Please check fallow steps

    1. i have a contact lookup field in Lead entity form. while creating lead record i am leaving contact lookup field empty

    2. by using workflow i am creating contact record when lead is created.

    3. so now i want to add contact name into lookup field automatically when contact created.

  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at
    RE: Need to attach contact to Lookup out of box

    I think you should have to use custom activity workflow inside OOB workflow, so that using coding you could get context record id (lead record id) to update lead with contact lookup.

  • Suggested answer
    elmaslouhi1 Profile Picture
    187 on at
    RE: Need to attach contact to Lookup out of box

    Hi Srinivasareddy,

    In fact, you can do that in the same workflow, I don't see the issue here.

    The workflow is triggered after the creation of a new lead, so you basically have access to it.

    All you have to do is choose the Create (contact) from the local values, as shown in the pictures.

    2020_2D00_02_2D00_03_5F00_11h14_5F00_56.png

    2020_2D00_02_2D00_03_5F00_11h14_5F00_47.png

    2020_2D00_02_2D00_03_5F00_11h15_5F00_09.png

    Please mark it as Verified if the answer suits your need.  

  • HungPham Profile Picture
    285 on at
    RE: Need to attach contact to Lookup out of box

    Hi Srinivasareddy,

    I think you need 2 workflow.

    1st workflow, when you create new contact, set field Originating Lead = Lead.

    2nd workflow, when contact was created, update Lead (Originating Lead) and set value to contact field.

  • CRMJetty Profile Picture
    3,512 on at
    RE: Need to attach contact to Lookup out of box

    Hello Srinivasareddy Sagili,

    Greetings of the day!

    In regards to your Concern, you have to create plug-in & register(on post operation)it on creation of contact & check lead from where contact is created & update contact lookup field of that lead.

    I hope it helps! Let me know in case of any other concern.

    Kind Regards,

    CRMjetty

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

    DynamicsCRM Customer Portal for Wordpress

    Dynamics CRM Customer Portal

    Dynamics CRM Customer Portal

  • CRMJetty Profile Picture
    3,512 on at
    RE: Need to attach contact to Lookup out of box

    Hello Srinivasareddy Sagili,

    Greetings of the day!

    In regards to your Concern, you have to create plug-in & register(on post operation)it on creation of contact & check lead from where contact is created & update contact lookup field of that lead.

    I hope it helps! Let me know in case of any other concern.

    Kind Regards,

    CRMjetty

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

    DynamicsCRM Customer Portal for Wordpress

    Dynamics CRM Customer Portal

    Dynamics CRM Customer Portal

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 235

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 175

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 156 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans