mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-06 23:26:55 +01:00
Address Job Queue review feedback
This commit is contained in:
parent
bb3398610e
commit
661e46dc1a
5 changed files with 7 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue