Page background tasks

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, or analysts, automatically This feature is released. Aug 1, 2019 This feature is released. Oct 1, 2019

Feature details

A page background task can run a codeunit (without a UI) in a read-only child session of the page session. On completion of the task, a completion trigger with the result is invoked on the page session.

If the page is closed before the task completes or the page record ID changed, the task is canceled.

See also

Page Background Tasks (docs)