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

Update the account field value when qualify a lead?

(0) ShareShare
ReportReport
Posted on by 10

Hi guys,

Hope, you will be fine and safe.

I was trying to update the 'Account Type' field value (which is a Option set type) when qualify the lead and 'lead type' equals 'external' using the JavaScript but it is not working properly. So, If anyone can help me to achieve this, will be highly appreciated.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Tamilarasu Arunachalam Profile Picture
    587 on at
    RE: Update the account field value when qualify a lead?

    Hi om_mzp ,

    If you want to implement in the update event of lead, JavaScript doesn't make sense.     

    JavaScript works on onchange or onload or onsave events.

    I recommend you to use Workflow or Power Automate or Plugin to accomplish this.

    If this answer helps you, like and verify my answer

  • om_mzp Profile Picture
    10 on at
    RE: Update the account field value when qualify a lead?

    Yes, it's nice suggestion. I created a workflow for the same and it worked fine.

    Thanks

  • ankit_singhal Profile Picture
    560 on at
    RE: Update the account field value when qualify a lead?

    You can use workflow or power automate. If you want to run as Async then power automate is best.MS is alos suggested Power Automate over workflow

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 110

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans