问题描述
我们正在使用'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
推荐答案
这篇关于动态加载和执行持久性工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!