2014-01-20 43 views

回答

1

這個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 
相關問題