数据变化观察:
流程图:
流程文档:
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;