Search code examples
workflow-foundation-4

Out of order race condition


When a workflow has a receive activity that occurs after another receive activity and the second receive activity is called first the workflow holds the caller by blocking for 1 minute before timing out.

I want the workflow to return immediately when there are no matching workflow instances.

I do not want to change the timeout on the client as some calls may take a while.


Solution

  • This is a known issue in WF4, at least I am not aware of it being fixed yet.