Execution和ProcessInstance的分别
2015-06-04 16:14
886 查看
在Activiti中Execution和ProcessInstance都用于获取当前流程实例的相关信息。
当流程中没有分支时,Execution等同于ProcessInstance,甚至连ID也相同;
当流程中存在分支(fork, parallel gateway),则在分支口会形成子Execution,在下一个gateway才会合并(joined)
原文出自:http://forums.activiti.org/en/viewtopic.php?f=4&t=1979
A processinstance is what is logically executed. The execution what is actually
executed. An execution without a parent is a root execution and 'equal' to the processinstance (even in id). Each time e.g. A parallel gateway (fork) is encountered, an execution gets child executions which are e.g. 'joined' again at a next gateway.
当流程中没有分支时,Execution等同于ProcessInstance,甚至连ID也相同;
当流程中存在分支(fork, parallel gateway),则在分支口会形成子Execution,在下一个gateway才会合并(joined)
原文出自:http://forums.activiti.org/en/viewtopic.php?f=4&t=1979
A processinstance is what is logically executed. The execution what is actually
executed. An execution without a parent is a root execution and 'equal' to the processinstance (even in id). Each time e.g. A parallel gateway (fork) is encountered, an execution gets child executions which are e.g. 'joined' again at a next gateway.
相关文章推荐
- Win2003 Enterprise x64 Edition漏洞下载地址
- 幼教互动云平台
- Windows库程序之动态库程序
- 小鹰展翅-虚基类
- Java socket多线程示例
- hdu5249KPI动态中位数(两个set)
- 希尔排序
- leetcode_90题——Subsets II (递推)
- Xml转化为DataTable
- 使用Chrome测试页面响应性
- 利用百度SDK进行城市定位
- GRE填空中介词的常用搭配
- iOS应用架构谈 view层的组织和调用方案
- easyUI 1.3.2 dataGrid动态绑定列名和数据
- 黑马程序员_内存管理小结
- 修改 mysql 的字符编码
- Reverse Nodes in k-Group
- C# Lambda表达式
- Linux Shell常用技巧
- unity log写入文件