Thread Aborted - Workflow Timed Out?
I have a workflow with an Execute and Wait component that runs a remote script. This script runs a distributed search based on the parameters passed in over multiple servers. The total time it takes to complete is roughly ~5 minutes, and I believe IIS or workflow is assuming my process is hung up. I get the following error below:
Error = "System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.Win32.Win32Native.ReadFile(SafeFileHandle handle, Byte* bytes, Int32 numBytesToRead, Int32& numBytesRead, IntPtr mustBeZero)
at System.IO.FileStream.ReadFileNative(SafeFileHandle handle, Byte bytes, Int32 offset, Int32 count, NativeOverlapped* overlapped, Int32& hr)
at System.IO.FileStream.ReadCore(Byte buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Read(Byte array, Int32 offset, Int32 count)
at LogicBase.Components.Default.ExecuteProcessAndWait.Run(IData data)"
Reducing the script complexity and removing the distributed search, my workflow runs fine. Any ideas on how to resolve this problem? I feel like it's a default timeout setting that needs to be overwritten.