We are using a codeunit in the classic client of NAV5 SP1 which scans a folder for files. When a file is found it is read and checked for a specific content. Then the file is moved to another folder.
When running the codeunit manual everything works fine.
When using an open client to run the codeunit through a timer form everything works fine too.
When running the codeunit through the Job Queue the entry stays in progress. The Job Queue Log Entry gives no error message.
I hope somebody can give me a hint.
Thanks in advance.
0
Answers
Thanks for sending me in the right direction.
What I was actually referring to was the use of variables of type "Dialog" e.g. showing progress information - this can cause problems/hanging and these should be wrapped around an IF GUIALLOWED