1

In Workflow Foundation 4, what happens if I resume a persisted workflow, and in the meantime the workflow definition (e.g., the xaml file) for that workflow instance has changed?

Will I get an error, will it resume with the old definition, or will it resume with the new definition?

jonsb
  • 2,016
  • 3
  • 21
  • 24

1 Answers1

1

It will generate an error. The only way to accomplish this now in WF4 is to store the old definition (XAML) somewhere and resume with that definition.

Microsoft is working on a workflow versioning implementation (announced at PDC'10) but I'm not sure when that will be relased.

Here is a related question that may help you a little further.

Community
  • 1
  • 1
Ronald Wildenberg
  • 31,634
  • 14
  • 90
  • 133