Jobs with a maximum runtime get canceled immediately after a restart, U0011545, maximum runtime exceeded

Document ID : KB000087799
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U0011545 Max. runtime of task '&01' (RunID '&02') has been exceeded. Task will be canceled or terminated respectively.

Observations
Maximum-runtime does not work correct on restart. Jobs with a maximum runtime set (e.g. 10 minutes) get canceled immediately after a restart. Maximum-runtime is set to 0.     

Investigation
A simple Workflow (e.g. with only one object, might be a SCRI, JOBS...). In the Task Properties of this object, the Maximum Runtime is set to 1 hour.
The job itself might be simple. The task is executed and when it fails it should be repeated.
Although the MRT is set to 1 hour and the workflow runs only for a few minutes, the task ends with:
 
"U0011545 Max. runtime of task 'INC0346589.WAIT' (RunID '0001013035') has been exceeded. Task will be canceled or terminated respectively."

Conclusion
If MRT is removed, everything works again as expected.
Cause:
Cause type:
Defect
Root Cause: Jobs with a maximum runtime set (e.g. 10 minutes) get canceled immediately after a restart. maximum-runtime is set to 0.
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 10.0.8 - already available
Automation.Engine 11.1.3 - already available
Automation.Engine 11.2.2 - already available
Additional Information:
Workaround :
Set MRT to 0