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

Document ID : KB000087492
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :

A WF contains a script and an event:

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:

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


In this case it works as expected.

Now the Workflow is executed several times:

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


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:

One says ENDED_TIMEOUT, the other Sleeping for the same object. This is incorrect.
Cause type:
Root Cause: A problem has been fixed where in a certain situation, a File Event objects stay active after exceeding the MRT.
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: