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 :
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)
  • Suggested answer
    SS-01100907-0 Profile Picture
    on at

    hi,

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

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    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. 

  • SS-01100907-0 Profile Picture
    on at

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

  • Community Member Profile Picture
    on at

    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!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans