Dependencies not working

I have dependencies set up what I believe is properly, but they will sometimes (seemingly randomly) not wait correctly. I’ve attached an example of the issue.

The highlighted task should wait for the 4 tasks below it, as seen in the Job Properties and Dependencies views. One of the dependency tasks finished and then the waiting task immediately started, instead of waiting for the remaining 3.

Can someone shed some light on why this is happening?

We are running 7.0.1.2 R

thanks

Hello,

So in your screenshot, I did notice that you have both the dependency setting, but also the ScheduledStartDateTime, which is not normally seen in a dependent job. I think the issue is that, when the ScheduledStartDateTime is hit, which it is currently set to 1989 and thus it would start right away, the job goes into queued status. Dependent job should instead be put into the pending status, and therefore when the requirements are met, the system will do a pending job scan, find the job, and put it into the queue. Can I ask how the job is being submitted and if you are aware how the ScheduledStartDateTime was set? Thanks.

Hey,

In addition to what dwight said, your job appears to be frame dependent (IsFrameDependent=True) what that means is that the jobs tasks can start when the associated tasks from the previous jobs are done. So if the tasks 0-1 are complete from the first job then tasks 0-1 can start in the second job.

Thanks

It looks like the Scheduled time was the issue. I would have expected it to wait for all conditions to have been met and am now concerned about when we do have a wait until time in the future, if the other dependencies will also hold up. Ill have to test that and come back.

But thanks for the responses on this! Glad to have it resolved.