动态加载和执行持久性工作流程 [英] Load and Execute persistance workflow dynamically

查看:72
本文介绍了动态加载和执行持久性工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用'System.Reflection.Assembly.Load(Byte())方法动态地将工作流加载到我们的主机应用程序中。现在,如果我们从主机应用程序中启动这个动态加载的工作流,它将正常执行而不会出现任何问题,工作流中的所有节点都将被正确遍历。

但是如果我们将SqlServer持久性服务包含到我们的工作流程中(持久性服务也是从主机应用程序动态添加到WF中)并且在工作流程中包含'compensatableSequenceActivity',则所有节点都将为'compensatableSequenceActivity1'。执行和'compensatableSequenceActivity1'中的节点将被跳过,包括HandleExternalEvent活动等。这里可能出现什么问题

问上诉Sreejith

Hi,
We are loading a workflow into our host application dynamically using 'System.Reflection.Assembly.Load(Byte()) method. Now if we intiated this dynamically loaded workflow from our host application its getting executed normally without any issues, all nodes within the workflow will get properly traversed.

But if we include SqlServer persistance service into our workflow (persistance service is also added to WF dynamically from host application) and include a 'compensatableSequenceActivity' to the workflow, all the nodes till 'compensatableSequenceActivity1' will be executed and nodes within the 'compensatableSequenceActivity1' will be skipped including HandleExternalEvent activity etc. What could be the issue here

regards
Sreejith

推荐答案

您能否详细描述一下您的工作流程?

谢谢
Can you please describe your workflow in little more detail?

Thanks


这篇关于动态加载和执行持久性工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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