How to Invoke a WF3.5 WorkFlow from a WF4 Workflow

任何人kwnos如何做到这一点?


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

  • 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.
  • 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.

    链接地址: http://www.djcxy.com/p/95846.html

    上一篇: 如何使用外部Web服务?

    下一篇: 如何从WF4工作流调用WF3.5 WorkFlow