Execution Hangs If Stop On Error cleared

We have a published automation that includes an activity that has Generate Error checked but Stop On Error cleared. The automation runs correctly and behaves as expected when there is an error for that activity, but the execution ultimately hangs after all steps are completed and has to be cancelled.

Comparing the logs from an execution with no errors to an execution with an error shows the same entries occurring after the errored activity in both cases, ending with the last activity in the TAS. The execution just never finishes and has to be cancelled.

End of the logs for both cases...
No Error
-- 2/23/2022 9:47:46 AM: Master_Scheduler.log: Script execution completed.
-- 2/23/2022 9:47:46 AM: Master_Scheduler.log: Done

With an error
-- 2/23/2022 9:30:17 AM: Master_Scheduler.log: Script execution completed.

Any possible insights for why this is occurring would be appreciated.

I just discovered that also clearing the Generate Error checkbox cures the hanging problem. That is OK for me to do for this particular automation, but I wouldn't expect it to be required.

1 Like