JBPM的表相关操作

--通过流程的编码获取该对应的流程定义 select * from jbpm_processdefinition d where d.name_ = '';

--通过单据号和ID获取任务实例(ID) select * from jbpm_processinstance p where p.bizno_ = '';

--通过上条SQL的ID获取该实例下的所有任务 select * from jbpm_taskinstance t where t.procinst_ = 1325152 order by t.id_ desc;

--通过上条SQL的ID获取该实例下的所有变量 select * from jbpm_variableinstance v where v.processinstance_ = 1325152;

--通过jbpm_processinstance 的 PROCESSDEFINITION_ 获取所有的节点 select * from jbpm_node n where n.processdefinition_ = 1325087;

--通过jbpm_processinstance 的 PROCESSDEFINITION_ 获取所有的转向 select * from jbpm_transition t where t.processdefinition_ = 1325087;

--获取现在所处的那个节点 select * from jbpm_token t where t.processinstance_ = 1325152;

--token_为上一条SQL的ID select * from jbpm_tokenvariablemap m where m.token_ = 1325153;

--id_为上一条SQL的ID select * from jbpm_moduleinstance m where m.id_ = ;

猜你喜欢

转载自2594082lhj.iteye.com/blog/2277880
今日推荐