Isolated events

Important

This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically - Apr 1, 2022

Business value

AL developers can raise an event that is guaranteed to invoke all event subscribers—even if some subscribers fail—and continue executing.

Feature details

Extensions shouldn't be able to block critical processes such as sign-in or opening role centers.

A failing extension should result in a degraded experience—not no experience at all.

Isolated events work like Codeunit.Run:

  • Each subscriber is executed in its own transaction.
  • Failures cause the transaction to be rolled back.
  • Errors are trapped and execution continues.

See also

Isolated Events in AL (docs)