首页 > 技术文章 > 处理一个节点里面包含2个待办

lujing-newer 2018-12-19 14:21 原文

---找到流程实例id---
select * from ACT_HI_PROCINST t where t.proc_inst_id_ in (select distinct t.proc_inst_id_ from ACT_HI_VARINST t where t.text_='402880e8641c8f260164491e12e800f0')
--第二步
select t.*, t.rowid from ACT_RU_EXECUTION t where t.proc_inst_id_='991303';
select t.*, t.rowid from ACT_RU_TASK t where t.proc_inst_id_='991303';
--取ACT_RU_TASK中的id_值给ACT_RU_IDENTITYLINK
select t.*, t.rowid from ACT_RU_IDENTITYLINK t where t.TASK_ID_='1010214';
--第三步从后往前删除1条记录

  

推荐阅读