Deleting Workflows registered in Job Groups does not work as expected
search cancel

Deleting Workflows registered in Job Groups does not work as expected

book

Article ID: 84920

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

A Workflow in a state of "Registered" is not canceled correctly.

 "Delete Entry" for registered Workflows (WF) don't cancel the complete WF. Instead, the children remain in a ‘Waiting for Predecessor’ status.  When the job group is executed, the associated scripts are all executed and deactivated, but the WF stays in the activity window and must be forced canceled to be removed.  When viewing the WF from the Monitor, it looks as if only the START and END objects have been canceled.

Investigation

A job group and a workflow are created. The workflow has with at least one task in it and at least one other object (SCRI in the example)

Start the workflow and the scripts. They go to status Registered:

 

<Please see attached file for image>

0EMb0000001Unq3.png

One of the scripts is deleted:

<Please see attached file for image>

0EMb0000001Unq8.png

It is canceled and gone from the Activity Window:

<Please see attached file for image>

0EMb0000001UnqD.png

Now the workflow is deleted:

<Please see attached file for image>

0EMb0000001UnqI.png

The workflow stays in the list and the children remain in Waiting for predecessor:

<Please see attached file for image>

0EMb0000001UnqS.png

When you execute the job group, the scripts are all executed and deactivated, the workflow stays in the activity window:

<Please see attached file for image>

0EMb0000001UnqX.png
 

It has to be forced canceled to be removed from the Activities Window.

If you open the Monitor of the workflow, it looks as if only START- and END-object where canceled:

<Please see attached file for image>

0EMb0000001Unqh.png

Environment

OS Version: N/A

Cause

Cause type:
Defect
Root Cause: "Delete Entry" for registered workflows do not cancel the complete workflow. Deactivate not possible and sub-tasks stay in status of "Waiting for Predecessor".

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation Engine 12.1.0 - Available
Automation Engine 12.0.2 - Available
Automation Engine 11.2.5 - Available

Additional Information

Workaround :
First, delete the registered workflow and then a deactivate is forced.

Attachments

1558693534310000084920_sktwi1f5rjvs16m99.png get_app
1558693532444000084920_sktwi1f5rjvs16m98.png get_app
1558693530713000084920_sktwi1f5rjvs16m97.png get_app
1558693528838000084920_sktwi1f5rjvs16m96.png get_app
1558693526891000084920_sktwi1f5rjvs16m95.png get_app
1558693525029000084920_sktwi1f5rjvs16m94.png get_app
1558693522986000084920_sktwi1f5rjvs16m93.png get_app