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.

  • ankitgore07 Profile Picture
    19 on at
    Trigger Plugin when change in specific dropdown
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans