Windows Workflow 4 Correlation Query includes website instance name in instance key calculation and fails
I am trying to host a long running workflow service on Azure but I am having problems with correlation. I have got the timeToUnload and the timeToPersist set to 0 and I have ticked the "persist before send" in the worklow - this is not a problem with persistence, it is to do with how instance keys are calculated. When one web server starts a workflow and another then tries to take another action on the workflow, it fails with System.ServiceModel.FaultException: The execution of an InstancePersistenceCommand was interrupted because the instance key '12e0b449-7a71-812d-977a-ab89864a272f' was not