Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to set order of the plugin to be fired.

Posted on by

Hello All,

I need to know order of the plugin firing.

can anyone help me in how to set this and utilize it.

*This post is locked for comments

  • Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: How to set order of the plugin to be fired.

    Can you debug your JavaScript or plugin whether you have a bug in your code or not?

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: How to set order of the plugin to be fired.

    Hello Experts,

    I am creating record using JavaScript ,

    But before that some calculations do happen for confirmation of the client to invoke the plugin.

    Now here is one catch after confirmation JavaScript box it remains on the screen itself.

    so plugin is also not getting hit.

    can anyone help me in understanding this.

  • Suggested answer
    Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: How to set order of the plugin to be fired.

    Plugin Execution order is one point.

    But also you need to be aware of the execution Pipeline (stages, like pre and post events)

    It is described here:

    msdn.microsoft.com/.../gg327941.aspx

    So first all plugins fire that are registered for pre-validation, then pre-operation, then post-Operation.

    In each of those stages the Executions Order will tell which one will fire first.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: How to set order of the plugin to be fired.

    Hi,

    You can set execution order for the plugin while registering the step in Dynamics CRM.

    84216.1.PNG

    See: http://crmdm.blogspot.in/2011/03/how-to-set-order-for-plugins-which.html

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans