Unless your jobs are in a box I would also add a lookback condition.
On the first run of the job, JOB_B would have to wait for JOB_A. However, they both remain in a success state until their next run, at which point JOB_B will only be looking for JOB_A to be in success. So if in the second run of the jobs, JOB_B's file arrives first, it will run first as JOB_A will still be in success from its last run. Adding a lookback condition of 0 ensures that JOB_B will wait for JOB_A to have completed more recently than itself.
So the dependency on JOB_B would be s(JOB_A,0)
------------------------------
Workload Automation Engineer
BPDTS
------------------------------
Original Message:
Sent: 08-24-2020 05:32 PM
From: Rajadurai PratapKumar
Subject: Job related queries
Dear all,
Can you help me with a solution for the below scenario.
If two files File 1 and File 2 are arriving at the same time (File 1 ->Job A) , (File 2 ->Job B). Job A should trigger first . Job B should wait till Job A completes and then it should trigger .
------------------------------
Best regards
Rajadurai
------------------------------