Address Job Queue review feedback

This commit is contained in:
demiliani 2026-09-08 17:13:18 +02:00
parent bb3398610e
commit 661e46dc1a
5 changed files with 7 additions and 8 deletions

View file

@ -27,10 +27,9 @@ codeunit 50114 "Job Queue On Hold Good"
trigger OnRun()
begin
repeat
while not IsStopRequested(Rec.ID) do
if not ProcessNextBatch() then
exit;
until IsStopRequested(Rec.ID);
end;
local procedure IsStopRequested(JobQueueEntryId: Guid): Boolean