Activiti6测试数据观察——并行网关

 

流程图:1-4-2-3-5-6-7


流程文档:

1.部署流程:

略,可参考请假流程

 

2.启动流程

select * from act_ru_execution;

 

select * from act_ru_task;

select * from act_ru_variable;

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

select * from act_hi_identitylink;

3.办理流程

select * from act_ru_execution;

select * from act_ru_task;

select * from act_ru_variable;

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

select * from act_hi_identitylink;

 

4.办理流程

 

select * from act_ru_execution;

此时parallelgateway2的IS_ACTIVE_字段为0

select * from act_ru_task;

select * from act_ru_variable;

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

此时parallelgateway2的END_TIME_字段已经有值了,是否合理?

select * from act_hi_taskinst;

select * from act_hi_varinst;

select * from act_hi_identitylink;

 

5.办理流程

select * from act_ru_execution;

select * from act_ru_task;

 

select * from act_ru_variable;

同上

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

select * from act_hi_identitylink;

 

6.办理流程

select * from act_ru_execution;

select * from act_ru_task;

select * from act_ru_variable;

同上

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

同上

select * from act_hi_identitylink;

 

7.办理流程

select * from act_ru_execution;

select * from act_ru_task;

select * from act_ru_variable;

同上

select * from act_ru_identitylink;

同上

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

同上

select * from act_hi_identitylink;

同上

 

8.办理流程

select * from act_ru_execution;

select * from act_ru_task;

select * from act_ru_variable;

同上

select * from act_ru_identitylink;

select * from act_hi_procinst;

select * from act_hi_actinst;

select * from act_hi_taskinst;

select * from act_hi_varinst;

select * from act_hi_identitylink;

 

9.办理流程

select * from act_ru_execution;

select * from act_ru_task;

select * from act_ru_variable;

select * from act_ru_identitylink;

 

select * from act_hi_procinst;

select * from act_hi_actinst order by END_TIME_ ASC;

select * from act_hi_taskinst order by END_TIME_ ASC;

select * from act_hi_varinst;

select * from act_hi_identitylink;

总结:

并行网关的特性:

并行网关后的连线全部有效,不进行条件表达式判断。

 

问题1:并行网关是怎么实现聚合效果的?

推测:根据并行网关的入线数量进行判断,比如parallelgateway2有两个入线,那么当有两个不同的execution执行到网关时,流程就会继续流转。

源码验证:

猜你喜欢

转载自blog.csdn.net/csdnklsdm/article/details/117387465
今日推荐