数据变化观察:
流程图:

流程文档:

1.部署流程:
select * from act_re_deployment;

select * from act_re_procdef;

select * from act_ge_bytearray;

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;

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;
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;
最后一个任务12503略
————————————

Async配置为true的时候测试结果:
select * from act_ru_execution;

select * from act_hi_procinst order by START_TIME_;

select * from act_hi_actinst order by START_TIME_;

select * from act_hi_taskinst order by START_TIME_;

从数据来看:
async为true并不是想象中产生异步执行的子流程实例;有执行实例但没有运行的任务,没有产生子流程的执行实例或任务实例,但产生了运行时job
select * from act_ru_job;

本文探讨了在异步配置为true时,数据库操作流程的变化,指出async模式并未如预期创建子流程实例,而是产生了运行时job。详细记录了从部署到执行的各阶段查询结果,以及对实际数据变化的深入解读。
594

被折叠的 条评论
为什么被折叠?



