I have upgraded VC to v4.9.40 and the process is still not working as I expect it should. Here's a more detailed explanation of the process:
I have 3 Job Types in the process:
- Trigger Jobs
- Master Job (with multiple tasks)
- Error Trap Jobs
1) Trigger Job contains 2 tasks. When the trigger file exists, the first task calls a task within another job to import data. When that external task is complete, the second task in the Trigger Job moves the trigger file to another location.
2) The Import Master Job contains multiple tasks that are "called" by other Trigger Jobs. Each task is set with an On Error event to Stop the current Job (Master) and start the corresponding Error Trap Job.
3) The Error Trap job does 2 things: a) stop the original Trigger Job and move the trigger file into an "Error" folder.
My most common error is Code 5: Access Denied. Looking at the log files, it appears that once the task with an "on error" event errors, it actually raises a TaskComplete first, then tries to run the error process. However, once it flags as complete, the file isn't processed using the Error job, but from the Trigger job.
It sounds confusing in (my) writing, but it is a simple, linear process that I can't get to work properly.
Thoughts?
jtnelso attached the following image(s):