如何获得已删除的过程实例(任务)的列表。一种方法是获取方法getDeletedReason
的信息。但是,您还有其他方法吗?
此SQL查询应在没有主动执行的情况下为您提供所有未完成的历史实例:
select h.proc_inst_id_ from act_hi_procinst h
left join act_ru_execution x on x.proc_inst_id_ = h.proc_inst_id_
where h.end_act_id_ is null and x.proc_inst_id_ is null