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

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)
  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    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.

  • Mahendar Pal Profile Picture
    45,095 on at

    Hi,

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

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 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

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

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans