I'm working on a workflow system intended for long running workflows (WF 4.0). We are using WorkflowApplication as host, and the SqlWorkflowInstanceStore for
The main point of using persistence is for running workflows to survive host application restarts and unexpected shutdowns. Every time an activity goes PersistableIdle,
the workflow is persisted, and the workflow id, bookmarks etc. is persisted into another database.
If the application is restarted, data for the workflows that were running is loaded from the database (not the instancestore) and the workflows are restarted
with the WorkflowApplication.Load(Guid id) method. (The WorkflowApplication is setup anew with the Activity and InstanceStore before Load is called).
This works fine as long as I return PersistableIdleAction.U
View Complete Post