开发者

How to Invoke a WF3.5 WorkFlow from a WF4 Workflow [closed]

开发者 https://www.devze.com 2022-12-16 08:09 出处:网络
开发者_运维问答It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
开发者_运维问答 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

anyone kwnos how to do this?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消