简体   繁体   中英

Resuming workflow after workflow definition has changed in .NET 4

In Workflow Foundation 4, what happens if I resume a persisted workflow, and in the meantime the workflow definition (eg, 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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM