且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从另一个工作流运行工作流程

更新时间:2023-01-08 17:08:38

您与分裂的工作流为独立的部分主要问题是,他们是完全断开。这是主要的工作流程不等待子工作流来完成。这是可以做到,但需要一些做的事情。

Your main problem with splitting a workflow into separate parts is that they are completely disconnected. That is the main workflow doesn't wait for the child workflows to finish. This can be done but takes some doing.

另一种认为要记住的是错误处理。当一个孩子的工作流故障的主要工作流程是没有意识到这一点,完全不同的行为,从增加孩子的活动。

Another think to keep in mind is error handling. When a child workflow faults the main workflow is not aware of this, quite different behavior from adding child activities.

如果您需要重用的逻辑,你还可以创建使用设计的复合活动。这是非常相似的开发工作流并且可以根据需要在多个工作流重用这些活动

If you need to reuse logic you can also create composite activities using the designer. This is very similar to developing workflows and you can reuse these activities on multiple workflows as needed.