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

Async calls doubt

(0) ShareShare
ReportReport
Posted on by 156

Hi everyone,

I have a question for how async calls work in D365?

For example, I have a plugin which runs asynchronously. What happens in the backend? 

If I am not wrong, all asynchronous calls require a Task. So does this plugin create a Task in the backend? And if that Task is created, the way the Task is executed is decided by the CPU. so it means the CPU of my system, or the CPU of the server of D365?

I am sorry if I sound silly. But this is confusing me, and I need to know the basic backend functionality.

Please guide me on this one!

Thanks in advance 

I have the same question (0)
  • Mahendar Pal Profile Picture
    45,095 on at
    RE: Async calls doubt

    Hi,

    In addition to that I will suggest you to look this (docs.microsoft.com/.../asynchronous-service-architecture  KB

  • Suggested answer
    Guido Preite Profile Picture
    54,084 Moderator on at
    RE: Async calls doubt

    async in generally and async regarding a plugin are two different things.

    asynchronous plugins mean they are executed after the transaction inside the database is completed and you have no guarantee if and when they are executed.

    Example: you created an account and the code inside the async plugin is executed after the record is created

    async inside code means that you launch another piece of code and other parts of your code can be executed without waiting the async call to be completed.

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
DAnny3211 Profile Picture

DAnny3211 134

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 106

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans