没有并行活动的并行工作流部件 [英] Parallel workflow part without Parallel activity

查看:67
本文介绍了没有并行活动的并行工作流部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在现有工作流程中实现并行工作流程部分.我了解Parallel活动,但这不适合我的需求.我的问题是,如果我们有另一种技术来实现与工作流并行运行的工作流的一部分, 实际的工作流程.

I must implement a parallel workflow part in an existing workflow. I know about the Parallel activity, but this does not suit my needs. My question is, if we got another technique to implement part of a workflow that runs parallel to the actual workflow.

实际的工作流程中有几个针对流程中多个角色的接收活动.简而言之,工作流开始,然后等待角色1的WCF消息,然后等待角色2 a.s.o的WCF消息.

新的工作流程部分将从外部流程中获取一些数据.这涉及外部过程的两个阶段的两个单独的WCF消息.

The new workflow part will obtain some data from an external process. This involves two separate WCF messages for two stages of the external process.

问题是,可以从实际工作流程的任何角色触发新的工作流程部分.然后必须在角色完成并并行运行后启动它,而实际的工作流同时等待WCF消息 下一角色.

Problem is that the new workflow part can be triggered from any role of the actual workflow. It must then be started after the role has finished and run in parallel, while the actual workflow waits at the same time for the WCF message of the next role.

然后,实际的工作流程必须等到最后一个角色和并行部分完成为止.

据我所知,我无法为此使用并行活动.我只能将第二个角色中实际工作流程的所有角色放在一个并行部分中,而将数据获取部分放在另一个并行部分中.但是用这种解决方案是不可能的 从角色2或后续角色触发并行部分.

As far as I know I could not use a Parallel activity for that. I could only put all roles of the actual workflow from second role on in one parallel part and the data obtaining part in another. But with that solution it would not be possible to trigger the parallel part from role 2 or a following role.

有解决这个问题的想法吗?

Any ideas to solve this problem?

推荐答案

您好,

->"然后必须在角色完成并并行运行之后启动它,而实际的工作流同时等待下一个角色的WCF消息."

您能详细说明一下吗?屏幕截图会更好.

问候
Hi,

->" It must then be started after the role has finished and run in parallel, while the actual workflow waits at the same time for the WCF message of the next role."

Could you elaborate more on it? a screen shot would be better.

Regards


这篇关于没有并行活动的并行工作流部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆