Failed job in Schedule does not process after period turnaround
search cancel

Failed job in Schedule does not process after period turnaround

book

Article ID: 115197

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A long running job fails after the Schedule (JSCH) period turnaround.  The JSCH result evaluation is not correct. The status of the failed task is correct in the execution history, but the parent monitor shows an Active status.

Environment

Release: AUTWAB99000-12.1-Automic Workload Automation-Base Edition
Component:

Cause

The behavior is by design.  If a task passes the period turnaround, the result evaluation is no longer triggered because the same task is already registered as a new instance.

Resolution

There is no way to handle this within the JSCH object.

Workaround:
  • Encapsulate the job in a workflow and use the workflow's post conditions.
  • Create a script that contains an Include in the Post-processing tab of the jobs to check for the status and use the script functions, GET_UC_OBJECT_STATUS and ACTIVATE_UC_OBJECT.