In this article, you will learn about 4 ways to boost performance with a background process in Microsoft Dynamics 365 Business Central. These methods are Page Background Tasks, the StartSession function, the Task Scheduler, and the Job Queue. Also, you will find the difference between them and how to apply each one depending on the scenario.
Tag Archives: Background
How To Run Background Processes In Business Central: TaskScheduler.CreateTask
A good way for running background processes in Microsoft Dynamics 365 Business Central is by using the Task Scheduler. In this post, you will learn what is it and how you can use it in Visual Studio Code for running background tasks.
How To Run Background Processes In Business Central: StartSession
When dealing with long processes, Microsoft Dynamics 365 Business Central provides some tools to mitigate the wait and provide a better user experience. In this post, I will show you how to run a background process using the StartSession function.
How To Run Background Processes In Business Central: Page Background Tasks
In this article, you will learn what is a Page Background Task and how to use it in Microsoft Dynamics 365 Business Central. With a simple example, you will be able to use a background task in a Role Center cue.
How to create an asynchronous process in Business Central
Hello, this post is dedicated a bit to how to run asynchronous processes in Business Central through Page Background Tasks.
Running asynchronous processes here is very similar at the concept level than in other languages, only that we have some very important limitations that need to be mentioned.
Queuing Background Tasks
I recently faced an interesting problem. The customer had production terminal at the end of a line, were the operator proceed the output. When he marked the production order as completed he clicked the button on the terminal and the request to post the output was sent to Business Central. For that I created the custom API. Nothing special.
Keeping your UI fresh with Page Background Tasks
In this video I show the Page Background Tasks works in Business Central. This is a way to send time-consuming tasks to a background thread to avoid holding up the main thread and slowing down the user interface.