Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Real Time Workflow and Plugin, Which One is Executed First?

Posted on by

Real Time Workflow and Plugin, Which One is Executed First? 

Real Time Workflow and Plugin, Which One is Executed First?

Plugin                                       WorkFlow

1. Prevalidation                   Real Time Workflow
2. Preoperation                   Real Time Workflow
3. Post operation                Real Time Workflow

Kindly suggest on it.

*This post is locked for comments

  • Suggested answer
    Nuno Profile Picture
    Nuno 2,005 on at
    RE: Real Time Workflow and Plugin, Which One is Executed First?

    Hi Amit,

    Take a look at: nbalmeidacrmblog.wordpress.com/.../real-time-workflow-vs-plugin-execution-order

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Real Time Workflow and Plugin, Which One is Executed First?

    Hi Amit Kumar,

    Always plugins will execute first and then real-time workflows.

    See: community.dynamics.com/.../real-time-workflow-and-plugin-which-one-is-executed-first

    Hope this helps.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Real Time Workflow and Plugin, Which One is Executed First?

    If plugins and workflows are present on certain message for an entity, Plugins will be executed (in the order you mentioned) first and then the workflows.

  • Shidin Haridas Profile Picture
    Shidin Haridas 3,497 on at
    RE: Real Time Workflow and Plugin, Which One is Executed First?

    Always wondered about this.

  • Suggested answer
    joman Profile Picture
    joman 617 on at
    RE: Real Time Workflow and Plugin, Which One is Executed First?

    Good day.

    Like you wrote:

    Prevalidation - first,  Preoperation - second, Post operation - third.

    More information here: https://msdn.microsoft.com/en-us/library/gg327941.aspx

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans