惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
N
News and Events Feed by Topic
P
Privacy International News Feed
The Hacker News
The Hacker News
Schneier on Security
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
Security Latest
Security Latest
L
LINUX DO - 最新话题
阮一峰的网络日志
阮一峰的网络日志
Cisco Talos Blog
Cisco Talos Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
博客园 - 【当耐特】
博客园 - Franky
P
Privacy & Cybersecurity Law Blog
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
月光博客
月光博客
D
Docker
Webroot Blog
Webroot Blog
The GitHub Blog
The GitHub Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
W
WeLiveSecurity
S
Security Affairs
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Security Archives - TechRepublic
Security Archives - TechRepublic
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
B
Blog
L
Lohrmann on Cybersecurity
T
Threatpost
量子位
S
Schneier on Security
V
Visual Studio Blog
S
Securelist
T
The Exploit Database - CXSecurity.com
Scott Helme
Scott Helme
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
The Register - Security
The Register - Security
I
Intezer
Stack Overflow Blog
Stack Overflow Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 聂微东
小众软件
小众软件
罗磊的独立博客
雷峰网
雷峰网
Recorded Future
Recorded Future

博客园 - Zhongkeruanjian

xxzxz 第三方 Zhongkeruanjian - 博客园 懂得Windows WorkFlow Foundation 使用Windows WorkFlow Foundation Windows Workflow Foundation能带来什么 Windows Workflow Foundation简述 Windows Workflow Foundation简介 我所理解的需求捕获与需求分析 Sql Server 2005恢复脚本 深圳金谷软件招聘DOTNET软件研发工程师(深圳地区) qww 12121 c#中的有用的方法 翻译:在我们使用的NET FRAMEWORK类库中发现设计模式(3) 翻译:在我们使用的NET FRAMEWORK类库中发现设计模式(2) 翻译:在我们使用的NET FRAMEWORK类库中发现设计模式(1) Microsoft Enterprise Library---解读Logging之开篇 Microsoft Enterprise Library---解读Cache之设计与分析
使用状态机工作流
Zhongkeruanjian · 2008-05-12 · via 博客园 - Zhongkeruanjian

不像顺序工作流,根据预定义的模式来构造它的活动,一个状态机工作将它的活动组织灾一个有限状态机里。下图展示了一个由WF工作流设计器创建的简单状态机工作流。如图所示,开发者定义了一组状态和能够在这些状态间触发事务的事件。

像这样组织活动的工作流的好处是:当你无法预先知道一个精确的事件流顺序时,比如事件驱动的业务处理流程,或者当可能性的数量无法通过定义所有的路径来定义时。这个最基本的例子针对的是工作中的人而不仅仅是应用系统。状态机工作流可以很自由的省掉一些步骤(比如如果一个好的客户,我们会省掉他的信用核对工作),在业务流程里任意跳转到任何步骤,或者在任何时候取消掉业务流程(比如说,客户在某一个节点上取消了订单。) 状态机工作流也可以提供一种方式定义如何匹配一些组织结构如何思考和他们业务流程处理文档的工作流。像这个例子所说的,将工作流定义成这种方式能够帮助开发人员和商务人员更加高效的一起工作。

基础活动类库包含了一些特地为其设计的活动来创建工作流状态机。如下所述:
状态:在工作流状态机里表达一个状态。
事件驱动:定义一个包含了很多活动的活动序列,在一个特定的状态里当一个特定的事件接收时执行。