JBPM4.4 判断流程是否结束
2014-04-28 15:28
381 查看
ProcessEngine processEngine = Configuration.getProcessEngine();
HistoryService historyService = processEngine.getHistoryService();
List<HistoryProcessInstance> lhistoryProcessInstance=historyService.createHistoryProcessInstanceQuery().list();
for(HistoryProcessInstance historyProcessInstance : lhistoryProcessInstance){
System.out.println(historyProcessInstance.getProcessDefinitionId()+","+historyProcessInstance.getProcessInstanceId()+","+historyProcessInstance.getState().equals(HistoryProcessInstance.STATE_ENDED));
}
HistoryService historyService = processEngine.getHistoryService();
List<HistoryProcessInstance> lhistoryProcessInstance=historyService.createHistoryProcessInstanceQuery().list();
for(HistoryProcessInstance historyProcessInstance : lhistoryProcessInstance){
System.out.println(historyProcessInstance.getProcessDefinitionId()+","+historyProcessInstance.getProcessInstanceId()+","+historyProcessInstance.getState().equals(HistoryProcessInstance.STATE_ENDED));
}
相关文章推荐
- C0302 将一个代码块中的内容保存在文件中, 查看一个rpm包是否可以安装
- 3D Math Primer for Graphics and Game Development -- 图形与游戏开发(3D数学基础) (简介)
- rpm 安装mysql
- jBPM中的(Task)任务有个人任务和组任务。
- 分组,group,泳道 JBPM
- PMC亮相IDF展示12G SAS分层存储解决方案
- PMP - 三点估算的一个题目
- JBPM工作流
- mysql rpm 安装
- rpm -e 删除包注意依赖关系
- MPMoviePlayerViewController或MPMoviePlayerController播放本地视频报错:_itemFailedToPlayToEnd: {kind = 1;new =
- 【讀書筆記】人人都是产品经理
- ipmode.c
- 初学JBPM。发现的错误JBPM no jBPM DB schema
- 点击主界面 PopupMenu消失
- RCV_SHIPMENT_HEADERS 中的 receipt number (RECEIPT_NUM) 是怎样产生的
- JBPM4内部机制
- jbpm4.4根据.jpdl.xml流程定义文件,得到流程图.png
- 使用Graphiz生成rpm dependency graph
- jbpm 不使用zip发布流程