I have a problem in my workflow where the workflow ends when its running in a slow environment.
Its a state machine workflow using xoml files.
My problem is the following:
The client has been facing problems were the workflow ends prematurely. This occurs at random times.
After looking into this I found that everytime I debug the application and step through the code the overriden method Cancel of Activity class is entered, hence the workflow ends.
When I run the application normally it works fine. So my thinking is when the workflow is ran under a slow environment it somehow enters the Cancel method.
Further, I added some Thread.Sleep snippets in the code and ran the app. Again the workflow ends when it shouldn't.
So my thinking is when the workflow is ran under a slow environment it somehow enters the Cancel method. Why this happens I do not know.
The code was taken from the following sample http://www.microsoft.com/downloads/details.aspx?FamilyId=A438A9B9-9F15-42EC-866F-2EA58E10DB36&displaylang=en
Does anyone know why it ends? or how I can find out why the Cancel method is entered?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: