Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How to execute a piece of code when any field on the form/table is modified.

(0) ShareShare
ReportReport
Posted on by 212
Hi,
 
I have Projtable form wherein I have Finance Approval field. My requirement is that whenever any field on the form is modified, the finance approval status field should be set to draft. I need to do this because I want to reactivate the workflow when any field is modified but for workflow to be activated, the finance approval status must be draft.
 
Please help me achieve the above requirement. I know we need to use Event Handlers or Chain of commands to achieve it. Please guide further on how to do it.
Thanks.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,759 Super User 2024 Season 2 on at
    How to execute a piece of code when any field on the form/table is modified.
    Hi Dynamics365 Admin,
     
    Is this a continuation of your previous question? How to activate change management in a custom workflow (dynamics.com)
    As I mentioned, you can check how change workflows are implemented customer and vendor master. The changed values will be stored in a staging table until the workflow will be approved. You can reverse engineer how Microsoft implemented it to get an example.
     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans