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.