如何在WF4中动态更新工作流程 [英] How to dynamic update workflow in WF4

查看:428
本文介绍了如何在WF4中动态更新工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作流程具有以下状态:
A-> B-> C-> D->完成.
在WF4中,我们可以使用流程图来模拟此流程. br/>
当我运行工作流时,我有很多工作流实例.每个实例都可能停止在不同的状态.
在运行时,我有一个要求,每个状态都可能进入子流,
,例如从B到B1,从B1到B11 ....然后回到B,然后完成C-> D->.
如何在WF4中获得它? class ="h2_lin">解决方案

您好,

我不知道这是否是您想要的,但是您可以轻松定义工作流程A-> B- > C-> D使用流程图活动,然后将另一个flowachart活动放到A,将另一个放到B,依此类推...如下:


然后单击两次例如,找到活动B并在其中定义该活动的逻辑,例如





当您运行工作流时,他将执行A活动以及其中的所有内容,然后我将执行B活动,因此一个...

希望对您有所帮助,

Rui M.


I have a workflow which has following state:
A->B->C->D->finish.
In WF4 we can use flowchart to simulate this flow.

when I run the workflow,I have a lot of workflow instance.Every one may stop at different state.
At the runtime I have a requirement,every state may go to a sub flow ,
such as from B to B1,from B1 to B11.... then come back to B,and then C->D->finish.
How to get this in WF4?

解决方案

Hi,

i don´t know if this is what you wish, but you can easily define a workflow A->B->C->D using a flowchart activity and then drop another flowachart activity to A, another to B, and so one... like this:


and after you click twice and drill to the activity B for example and define the logic of that activity inside,

like this:



When you run your workflow, he will execute A activity and everything inside, then i will execute B activity, and so one...

I hope this helps,

Rui M.


这篇关于如何在WF4中动态更新工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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