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执行到网关时,流程就会继续流转。

源码验证:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值