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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Multiple Plugin - Same Operation on Same Entity - Different Execution Order

(0) ShareShare
ReportReport
Posted on by

Hi Folks

Apologies for this less valuable question, however I just would like to get clarified. If I have 2 plugins on same operation & entity, but different execution order, then on the execution first plugin encounters error, will next plugin get triggered? Thanks.

Regards

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Multiple Plugin - Same Operation on Same Entity - Different Execution Order

    Thanks, mates @mehdi & @soumen. will check this when the similar case comes up, was having that consideration to find the best possible solutions for the business requirements. Have a nice one!

  • Soumen S Profile Picture
    on at
    RE: Multiple Plugin - Same Operation on Same Entity - Different Execution Order

    yes if you call both the plugin from one workflow then the entire operation will fail, I thought there are two different individual plugin.

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Multiple Plugin - Same Operation on Same Entity - Different Execution Order

    Hi,

    @Soumen I don't think so… I believe that all plugins in the same pipeline and main operation will be canceled. Additionally, if your plugins run in synchronous mode, the actions done by those plugins will rollback.

    Example: 

    I have a plugin named UmaLearning_Plugins.Plugins.Plg_IdeaPostOperation which will be executed in those two steps: 

    pastedimage1621264980963v1.png

    If the first step is executed without any error, the second step is executed: 

    pastedimage1621265166236v2.png

    if an error occurs when the first step is executed, the second one is not executed:

    pastedimage1621265239788v3.png

    To be sure, you can easily test the same scenario in your dev environment. 

  • Suggested answer
    Soumen S Profile Picture
    on at
    RE: Multiple Plugin - Same Operation on Same Entity - Different Execution Order

    hi,

    IF those two are individual plugin and does not depend on each other then the 2nd one should get execute.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 122

#2
DAnny3211 Profile Picture

DAnny3211 101

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans