如何創建一個activiti工作流

如何創建一個activiti工作流
Activiti是一個強大的業務流程管理(BPM)框架,他本身需要數據庫支持,它使用了Mybatis作爲持久化框架,對於數據庫管理系統(DBMS)支持多個。並且它的數據庫表名有一定的特徵。

資源庫流程規則表
1)act_re_deployment 部署信息表
2)act_re_model 流程設計模型信息表
3)act_re_procdef 流程定義數據表
運行時數據庫表
1)act_ru_execution 運行時流程執行實例表
2)act_ru_identitylink 運行時流程人員表,主要存儲任務節點與參與者的相關信息
3)act_ru_task 運行時任務節點表
4)act_ru_variable 運行時流程變量數據表
歷史數據庫表
1)act_hi_actinst 歷史節點表
2)act_hi_attachment 歷史附件表
3)act_hi_comment 歷史意見表
4)act_hi_identitylink 歷史流程人員表
5)act_hi_detail 歷史詳情表,提供歷史變量的查詢
6)act_hi_procinst 歷史流程實例表
7)act_hi_taskinst 歷史任務實例表
8)act_hi_varinst 歷史變量表
組織機構表
1)act_id_group 用戶組信息表 JBPM_ID_MEMBERSHIP
2)act_id_info 用戶擴展信息表
3)act_id_membership 用戶與用戶組對應信息表
4)act_id_user 用戶信息表

1.導包
這是我自己做的一個
在這裏插入圖片描述
在這裏插入圖片描述
2.配置xml









3.測試
@Test

標題

	public void testConnect3() throws Exception {
		// 核心對象
		ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
		System.out.println(processEngine);
	}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章