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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Onchange event not working on field updated from work flow process. How can Javascript function to be hit on field which is updated via work flow process

(0) ShareShare
ReportReport
Posted on by 342

I have a requirement where JavaScript function to be hit on field1 when it is updated through workflow process using Onchange event on field1. I need to perform some logic on field1 using Javascript code @ Onchange event and populate value to field2. But Javascript is not hitting as the workflow is updating field1 at server side. How can i achieve this.

I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    2,761 on at

    Depending on what you are doing you may need to do more in JavaScript in the onSave or onChange like call an Action synchronously then process the results of the action - or put all of the relevant logic in the Workflow etc (not clear why you have to use JavaScript to populate the field2 and you can't build it into workflow or plugin).

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans