code change · fixAdministration & Setupofficial - Microsoftreviewed - checked by Opus

#12308 Don't block approval workflow when foreground notification email fails

Prevent approval workflow blocking when foreground notification email delivery fails by logging errors instead of raising exceptions mid-transaction.

Pull request · merged into main (BC30) on 2026-10-08 by darjoo · 3 files (+110 -4), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Foreground instant notifications for delegated users no longer raise errors when email delivery fails
  • Failed notifications are logged to telemetry and shown to users as notifications with Details action instead of blocking workflows
  • Failed Notification Entries retain error details and remain available for later dispatch
  • New internal flag SetRunInForeground distinguishes foreground dispatch path from job queue path
  • Workflow response steps can now complete successfully despite email delivery failures
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13626 into releases/29.x on 2026-11-05

Context

  • Work items: AB#652915
  • Labels: Team: Integrations
  • Systems: administration

No source states these links: they share an object, a model read them, or a person found the same subject.

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).