Hi All,
When I schedule a job queue Entry, usually I set its status in Ready. The process executes the job according to the schedule, and when the NAS service executes the process, it uses the codeunit 448 to execute my process which I created.
Usually, the first step is set the Job Queue Entry status <<In Process>> and when any error appears with my codeunit, my process is stopped, and CU 448 insert a record in Job Queue Entry Log to inform the error, and the Job Queue Entry is set newly like "Ready" for next scheduling.
However, in some cases the record in Job Queue Entry Log is inserted but Job Queue Entry keeps status "In Process", and when the NAS Service try to execute again the process, the CU 448 filters only the Job Queue with status Ready, and my codeunit will not be to execute again.
Someone know why?
0
Comments
In that case your job stay in process waiting for an input.
No geordie, I don't include any message or window to user interface. When I execute the process manually any functions which require user interface is shown.
Also, when you run Job Queue on NAS it won't let you if there's any user interaction needed.
I know this behaviour only from scenarios since2002 describes. There must be any hard error that leads to a situation that doesn't allow Job Queue to finish properly. Assuming you run it on NAS, please have a look at the Windows Event Log to see if there's any error message in it.
for this one:
Remember this is only for Dynamics NAV 2009 and 2009 SP1