AutoSys Look-back Condition Behavior with Cross-Instance Dependencies when Predecessor is ON_ICE
search cancel

AutoSys Look-back Condition Behavior with Cross-Instance Dependencies when Predecessor is ON_ICE

book

Article ID: 438836

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

An AutoSys job fails to trigger when it has a lookback condition tied to a cross-instance dependency where the remote job is in an ON-ICE state. In contrast, a similar job without a lookback condition evaluates the ON-ICE dependency as "True" (T) and triggers as expected.

The following behavior is observed when checking job dependencies using job_depends -cj:

  1. With Lookback Enabled: * Condition: success(remote_job^instance, 0)

    • Status: The dependency evaluates to False (F) even if the remote job is ON-ICE.

  2. Without Lookback:

    • Condition: success(remote_job^instance)

    • Status: The dependency evaluates to True (T) when the remote job is ON-ICE

Environment

Product: AutoSys Workload Automation

Version: 12.1.01 0000

Component: Application Engine / Server

 

Cause

This behavior is not a bug; rather, it is caused by the operational design differences between how local and cross-instance dependencies evaluate statuses:

  • Local Dependencies: When a local predecessor job is placed ON_ICE, the system ignores the look-back condition. The system will continuously evaluate the dependency as true. For example, if a dependent job is scheduled to run every 5 minutes, it will continuously execute every 5 minutes for as long as the predecessor remains ON_ICE.

  • Cross-Instance Dependencies: For cross-instance dependencies, an ON_ICE status is not transmitted across instances. Instead, the system sends and records a SUCCESS status along with a specific status timestamp. Consequently, the look-back condition honors and evaluates this recorded timestamp. Using the same 5-minute schedule example, a dependent job would only execute once, as it references the specific timestamp of the SUCCESS status rather than continuously ignoring the look-back condition

Resolution

The product is currently functioning exactly as intended. To ensure clarity and prevent future confusion regarding this expected behavior, the official documentation guides are actively being updated. The updated documentation will explicitly detail the differing behaviors between local and cross-instance ON_ICE look-back dependencies.

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-1-01/reference/ae-job-information-language/jil-job-definitions/condition-attribute-define-starting-conditions-for-a-job.html

  • If the predecessor job being evaluated for the look-back condition is currently in an ON_ICE status, it always evaluates to true. That is, any look-back evaluation is ignored.