Statistic shows event as ENDED_TIMEOUT but it is still in Activity Window and running

book

Article ID: 87492

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

Scenario:
 
A WF contains a script and an event:
 

<Please see attached file for image>

0EMb0000000IYJj.png

In the script, the event is modified by MODIFY_TASK and a Maximum Run Time is set (3 minutes in the test). If the file for which the event checks is not present, the event should be stopped after the Maximum Run Time.
The test workflow is executed once. The file to check must not be present:
 

<Please see attached file for image>

0EMb0000000IYJt.png
 

<Please see attached file for image>

0EMb0000000IYJy.png

After ca. the Maximum Run Time of 3 minutes, the activity window is empty again and the statistics show:

<Please see attached file for image>

0EMb0000000IYK3.png
 

In this case it works as expected.

Now the Workflow is executed several times:
 

<Please see attached file for image>

0EMb0000000IYK8.png

After all Workflows are finished, some Events remain in the activity window and keep on checking:

<Please see attached file for image>

0EMb0000000IYKD.png

They are not just in the activity window, they are really running and checking. When the checked file is now created, they end correctly.

Compare the statistics of the Workflow and the activity window:
 

<Please see attached file for image>

0EMb0000000IYKI.png

One says ENDED_TIMEOUT, the other Sleeping for the same object. This is incorrect.

Cause

Cause type:
Defect
Root Cause: A problem has been fixed where in a certain situation, a File Event objects stay active after exceeding the MRT.

Environment

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

Resolution

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

Fix Status: Released

Fix Version(s):
AE Server and Initialdata
Automation Engine 12.1.0 - Available
Automation Engine 12.0.3 - Available
Automation Engine 11.2.6 - Available

Additional Information

Workaround :
Create an Timer Event that runs regularly. Each time, the following SQL-Select is executed:
 
select ah_idnr from eh, ah where eh_status = 1701 and eh_otype = 'EVNT' and ah_status = 1942 and ah_idnr = eh_ah_idnr;

All found objects are then canceled:
 

<Please see attached file for image>

0EMb0000000IYJe.png

Attachments

1558693156210000087492_sktwi1f5rjvs16m3c.png get_app
1558693154188000087492_sktwi1f5rjvs16m3b.png get_app
1558693152291000087492_sktwi1f5rjvs16m3a.png get_app
1558693150554000087492_sktwi1f5rjvs16m39.png get_app
1558693148542000087492_sktwi1f5rjvs16m38.png get_app
1558693146620000087492_sktwi1f5rjvs16m37.png get_app
1558693144924000087492_sktwi1f5rjvs16m36.png get_app
1558693142864000087492_sktwi1f5rjvs16m35.png get_app