是否可以动态更新工作流程服务定义(添加和删除活动) [英] Is it possible to dynamically update the workflow service definition(to add and remove activities)

查看:51
本文介绍了是否可以动态更新工作流程服务定义(添加和删除活动)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了工作流服务(XAMLX扩展名).它由自定义活动(代码活动,本机活动,XAML活动)作为子活动组成,并且已针对持久性进行了配置.

是否可以动态更新工作流程服务定义(以添加和删除活动)

谢谢

Neha

解决方案

这不是一件容易的事,因为持久性并不跟踪定义本身,所以这取决于您(服务主机)在加载/恢复工作流之前,加载正确的定义.

但是,这将是动态更新在vNext上支持的最大功能之一.

观看罗恩(Ron)在44分钟的这段视频:

http://player.microsoftpdc.com/Session/3b87c17b-a218-40d3-984f -78a012331dee

有一种方法可以将永久性恢复到正确的定义,进行这种版本重定向(重定向而不是UPGRADE),但是只能在自定义托管上完成,就像我们一样,您可以在这里查看:

http://adrianot75.wordpress.com/2010/11/05/sample-real-world-wf4-integration/

希望有帮助,

致谢


Hi,

I have created a workflow service(XAMLX extension). It consists of custom activities(code activity, native activity, XAML activity) as child activities and has been configured for persistence.

Is it possible to dynamically update the workflow service definition(to add and remove activities)

Thanks,

Neha

解决方案

Not an easy one because since persistence does not track definition itself, it's up to you (the service host) load the correct definition before loading/resuming the worklfow.

However, this will be one of the greatest features supported on vNext by Dynamic Update.

See this video by Ron at 44 mins:

http://player.microsoftpdc.com/Session/3b87c17b-a218-40d3-984f-78a012331dee

There is a way to do this kind of version redirection (redirect but not UPGRADE) the persitence resumption to the right definition, however this can be done only on custom hosting, like we do, you can look at here:

http://adrianot75.wordpress.com/2010/11/05/sample-real-world-wf4-integration/

Hope it helps,

Regards


这篇关于是否可以动态更新工作流程服务定义(添加和删除活动)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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