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

Announcements

No record found.

News and Announcements icon
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.

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 125

#2
ParthPatel249 Profile Picture

ParthPatel249 87

#3
11manish Profile Picture

11manish 85 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans