Skip to content

Prevent Sales Order Agent from skipping emails moved into monitored folders - #11063

Open
tomasevicst wants to merge 1 commit into
mainfrom
bugs/648911_SOA_Folder_Monitoring_Skip_Emails
Open

Prevent Sales Order Agent from skipping emails moved into monitored folders#11063
tomasevicst wants to merge 1 commit into
mainfrom
bugs/648911_SOA_Folder_Monitoring_Skip_Emails

Conversation

@tomasevicst

@tomasevicst tomasevicst commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What & why

Stop advancing Earliest Sync At after email polling. Moved emails retain their original received timestamp, so advancing this value could permanently exclude them from later retrieval.

The configured Start Date remains the retrieval lower bound, while Graph excludes emails already categorized as processed. Added regression tests for empty and under-full polling.

Linked work

Fixes AB#648911

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

Risk & compatibility

Low risk. No schema, API, setup, or connector changes. Existing Start Date behavior during setup, reactivation, and mailbox changes remains unchanged. Previously processed emails continue to be excluded server-side by their Outlook category.

@tomasevicst
tomasevicst requested a review from a team September 4, 2026 13:41
@tomasevicst
tomasevicst requested a review from a team as a code owner September 4, 2026 13:41
@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Team: SCM GitHub request for SCM area labels Sep 4, 2026
@github-actions github-actions Bot added this to the Version 30.0 milestone Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Team: SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant