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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Trigger Plugin when change in specific dropdown

(1) ShareShare
ReportReport
Posted on by 7

Dear Dynamics 365 Community,

I am seeking advice on whether it is possible to trigger a plugin when a dropdown value changes to a specific option. If this is feasible, could someone kindly guide me on how to implement it?

For instance, I would like to trigger the plugin when the status is set to 'Contract Executed' (as shown in the attached screenshot).

Thank you for your assistance and time.
Best regards.

I have the same question (0)
  • ankitgore07 Profile Picture
    19 on at
    Hi,

    Yes its possible.
    1. triggered plugin On save.
    while registering plugin you need to just register step for update and fields just pass you above field Contract Executed.
    So when the option set value get change plugin get
    triggered. but in this case you need to save the record.

    2. triggered plugin On change.

    in this case you need to use javascript and plugin both.
    when user change the option of option set we have the onchange event in script use that and use action to call the plugin code when that on change event get triggered.


    follow the below steps:

    1. triggered plugin On save.

    1. write the simple C# plugin code.
    2. register the plugin in assembly.
    3.Do the configuration like give below.
    in this when account lookup update plugin get triggered.


    2. triggered plugin On change.

    1. in script use on field change event.
    2. when the function for on change get triggered call the action example yo have created the process with name Onchangefield.
    3. now call that process using action. ( Use xrmtool box tool rest build tool to create the action  code in js.)
    4. resgister the  process in step like above ss in place of update pass the process name. 
    5. now when you triggered the on change event plugin get call and code in side plugin get execute.

    Hope this is what you want if yes.. Like the comment.

    Thank you.
     

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans