External dependencies are not skipped if the entire workflow is skipped, instead remain in status "WAITING FOR PREDESESSOR"
search cancel

External dependencies are not skipped if the entire workflow is skipped, instead remain in status "WAITING FOR PREDESESSOR"

book

Article ID: 87655

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U00012205 Deactivation of task '' (RunID '') not possible, because there are '0000000001' active tasks inside this workflow construct remaining.

There is an incorrect Job status in the EJPP table for the following scenario:
 
A master-workflow contains a sub-workflow. The sub-workflow contains an external dependency. If the sub-workflow gets skipped the external dependency will remain in status 1700 "Waiting for predecessor" although it should be 1930 "Ended skipped".  As a result, the workflow cannot be deactivated in the activities window and an error message similar to the one above will be displayed.
 
Investigation
 
See the example below where a master-workflow contains a sub-workflow.  The sub-workflow contains an external dependency.

<Please see attached file for image>

0EMb0000001QWlP.png

The external dependency is NOT skipped and the details of the Workflow will look similar to this:

<Please see attached file for image>

0EMb0000001QWlj.png

In the database, the status is incorrect as seen in the example below.

<Please see attached file for image>

0EMb0000001QWlo.png
 

Environment

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

Cause

Cause type:
Defect
Root Cause: External dependencies are not skipped if a whole workflow is skipped. They remain in a "WAITING FOR PREDESESSOR" status and the workflow can not be deactivated.

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Automation Engine 11.2.3 - Available
Automation Engine 11.1.5 - Available
Automation Engine 10.0 - will not be fixed

Additional Information

Workaround :
N/A

Attachments

1558692476504000087655_sktwi1f5rjvs16lqo.png get_app
1558692474777000087655_sktwi1f5rjvs16lqn.png get_app
1558692471917000087655_sktwi1f5rjvs16lqm.png get_app