顺序工作流程似乎“忽略”了工作流程。它的子活动
我正在使用托管 Windows 工作流程顺序工作流程。 运行工作流时,子活动不会激活。
- 我尝试在设计器中设置断点 - 它们不起作用
- 使用自定义跟踪服务来监视工作流程的执行我发现根工作流程经历了这些阶段: 已创建(工作流程事件) 已开始(工作流程事件) 执行(工作流根的活动事件) 已关闭(工作流根的活动事件) 已完成(工作流事件)
我还检查了自定义跟踪服务中的工作流对象,并且我看到根活动有一个空的活动集合
因此,尽管工作流有子活动(它们出现在设计器中),但它们似乎“消失了” “当我运行工作流程时。
有什么想法吗?
俄斐尔
I'm using a hosted windows workflow sequential workflow.
When running the workflow, the child activities aren't activated.
- I tried setting breakpoints in the designer - they don't work
- Using a custom Tracking service to monitor execution of the workflow I see that the root workflow passes through these stages:
Created (workflow event)
Started (workflow event)
Executing (activity event of the workflow root)
Closed (activity event of the workflow root)
Completed (workflow event)
I also inspected the workflow object from the custom tracking service, and I saw that the root activity has an empty Activities collection
So although the workflow has child activities (they appear in the designer) - it appears that they "vanish" when I run the workflow.
Any ideas?
Ophir
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在一个包含工作流和主机的项目中遇到了这个问题。我现在尝试将它们分成不同的项目,它似乎有效。
I encountered the problem in a project that contained both the workflow and the host. I tried now separating them into different projects, and it appears to work.