Understanding page background tasks

Dynamics 365 Business Central version 15 introduces a new feature to handle asynchronous programming called page background tasks

Page background tasks permit you to define a read-only and long-running process on a page that can be executed asynchronously in a background thread (isolated from the parent session). You can start the task and continue working on the page without waiting for the task to complete. The following diagram (provided by Microsoft) shows the flow of a background task:

A page background task has the following properties:

  • It's a read-only session (it cannot write or lock the database). ...

Get Mastering Microsoft Dynamics 365 Business Central now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.