How do you manage versions in Workflow Foundation?

2019-03-16 17:27发布

问题:

How do you manage versions of work flows in WF when you have long running work flows and you might have two or three versions in the persistence store at the same time and have to be able to access them all?

回答1:

I did a series of 4 blog post covering most of the stuff you need to be aware of when versioning long running workflows.

One thing I tend to avoid is using the HandleExternalEventActivity as this greatly complicates things. For that matter I tend to stick to simple types and xml serialized objects.

  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/11/versioning-long-running-workflows-part-2.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/16/versioning-long-running-workfows-part-3.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/22/versioning-long-running-workflows-part-4.aspx