Skip to content

[Bug]: Two sessions can process the same Audit File Export Line simul…#29821

Open
vlkov wants to merge 1 commit intomicrosoft:mainfrom
vlkov:vlkov/29798
Open

[Bug]: Two sessions can process the same Audit File Export Line simul…#29821
vlkov wants to merge 1 commit intomicrosoft:mainfrom
vlkov:vlkov/29798

Conversation

@vlkov
Copy link
Contributor

@vlkov vlkov commented Mar 10, 2026

Summary

Ensure that previously scheduled tasks are properly cancelled before scheduling new ones and that export runner codeunits avoid duplicate processing by checking for active sessions.

In AuditLineExportRunner.Codeunit.al, before proceeding, the code now checks if the record's session is active in the current server instance and exits early if so. This avoids duplicate processing by ensuring only one active session handles the export line.

Work Item(s)

Fixes #29798

@vlkov vlkov requested a review from a team as a code owner March 10, 2026 11:49
@vlkov vlkov requested a review from gggdttt March 10, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Two sessions can process the same Audit File Export Line simultaneously

2 participants