Failed job in Schedule does not process after period turnaround

Document ID : KB000115197
Last Modified Date : 17/09/2018
Show Technical Document Details
Issue:
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.
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.