Windows Workflow 4.5版本映射 [英] Windows Workflow 4.5 Version Mapping

查看:45
本文介绍了Windows Workflow 4.5版本映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设工作流有两个版本,某些实例在版本1上运行,而某些实例在版本2上运行,请问有什么方法可以在创建新的工作流实例时调用版本1的工作流而不是版本2的新实例.默认情况下,它将创建version2的实例.

解决方案

.net Framework 4.5引入了工作流版本控制,这似乎正是您所需要的.

这两个链接应该足以开始使用:

使用WorkflowIdentity和版本控制

如何:并排托管工作流的多个版本

Suppose if there are two versions of the workflow, some instances are running on version1 and some on version2 , Is there any way so that we can call version1 workflow instead of version2 for a new instance, as we create a instance of workflow it will by default create the instance of version2.

解决方案

.net Framework 4.5 introduces Workflow Versioning which seems to be exactly what you need.

These two links should be enough to get started:

Using WorkflowIdentity and Versioning

How to: Host Multiple Versions of a Workflow Side-by-Side

这篇关于Windows Workflow 4.5版本映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆