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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

What is the execution order of these components?

(3) ShareShare
ReportReport
Posted on by 1,117

Scenario:
You have all of the following registered on the same entity:






     
  • Synchronous Plugin





  •  
  • Asynchronous Plugin





  •  
  • Real-Time Workflow





  •  
  • On-Demand Workflow




Question: What is the execution order of these components?


Categories:
I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,419 Super User 2026 Season 1 on at

    Hi,

    When you have multiple automation components registered on the same entity in Dataverse (Dynamics 365), the execution order is generally as follows:

    1. Real-Time Workflow
      Executes first, as it runs synchronously and is designed to respond immediately to changes.

    2. Synchronous Plugin
      Runs next, within the same transaction context as the triggering event.

    3. Asynchronous Plugin
      Executes after the transaction is committed. It runs in the background and does not block the user action.

    4. On-Demand Workflow
      Only runs when manually triggered by a user or another process. It does not participate in automatic execution unless explicitly invoked.

    So, in your scenario, the real-time workflow will execute first, followed by the synchronous plugin. The asynchronous plugin will run after the transaction completes, and the on-demand workflow will only run if manually triggered.

    Best regards,
    Daniele

  • Satyam Prakash Profile Picture
    1,117 on at
    I tried the same, but the order was 

    1. Synchronous Plugin
    2. Asynchronous Plugin
    3. Real-Time Workflow
    4. On-Demand Workflow
     
    Can you please explain why this is happening?
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at
  • Suggested answer
    Nachiket Saraph Profile Picture
    6 on at

    1. Real-Time Workflow - runs synchronously
    2. Synchronous Plugin - runs in same event transaction

    3. Asynchronous Plugin - runs in background

    4. On-Demand Workflow - only runs when manually triggered by a user or another process.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 149

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 79 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans