To find stale jobs (in process jobs with no scheduled tasks) and set them to error state.
For both JQE and JQLE
procedure FindStaleJobsAndSetError()
Events
OnGetCheckDelayInMinutes
Used for test. Sets the minimum age of stale job queue entries and job queue log entries.
[IntegrationEvent(False,False)]
local procedure OnGetCheckDelayInMinutes(var DelayInMinutes: Integer)
Parameters
Name
Type
Description
DelayInMinutes
Integer
OnRunJobQueueEntryOnceOnAfterJobQueueEntryInsert
[IntegrationEvent(False,False)]
local procedure OnRunJobQueueEntryOnceOnAfterJobQueueEntryInsert(SelectedJobQueueEntry: Record "Job Queue Entry", JobQueueEntry: Record "Job Queue Entry")