如何从 WF4 工作流调用 WF3.5 工作流

发布于 2024-08-18 03:55:50 字数 20 浏览 4 评论 0原文

有人知道如何做到这一点吗?

anyone kwnos how to do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清风挽心 2024-08-25 03:55:50

没有现成的方法可以做到这一点。基本上您有两个选择:

  1. 使用 WCF 在两个工作流之间进行通信。 WF3 工作流将通过使用 WF4 中的发送活动向 WF3 ReceiveActivity 发送消息来启动。在这种情况下,双方都不必知道对方是如何实现的。
  2. 创建自定义活动并使用它与 WF3 运行时通信并启动 WF3 工作流。

WF4 附带的互操作活动不支持 WF3 InvokeWorkflowActivity,因此这是不行的。

There is no out of the box way of doing this. Basically you have two options:

  1. Use WCF to communicate between the 2 workflows. The WF3 workflow would be started by using a Send activity in WF4 sending a message to a WF3 ReceiveActivity. In that case neither has to know about how the other is implemented.
  2. Create a custom activity and use that to communicate with the WF3 runtime and start the WF3 workflow.

The Interop activity that ships with WF4 doesn't support the WF3 InvokeWorkflowActivity so that is a no go.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文