Hi Vinayak,
For this scenario, you could use a lookback condition on Job B. You can specify a period of time to look back (in hours and/or minutes) or leave it at 0, which means AutoSys Workload Automation examines the last end time of the job first.
A couple of examples:
Job B - condition: s(Job A, 04.00) - look back at the status within the last 4 hours
Job B - condition: s(Job A, 0) - look back at the last end time of Job A
More information can be found here:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-0-01/reference/ae-job-information-language/jil-job-definitions/condition-attribute-define-starting-conditions-for-a-job.html#concept.dita_786915b26a4b3d5a37f3cedc0c9adf3d406804ea_LookBackDependencies
------------------------------
Best regards
Richie Heaney
Automation Capability Specialist
Agile Operations Division, Broadcom
------------------------------
Original Message:
Sent: Aug 12, 2024 12:46 PM
From: Vinayak Das
Subject: Autosys run on Pre req job
Job B:- Should only get triggered if Job A is successful on the current date and not of any previous date run.
Can anyone suggest a possible solution.