activiti總結

1、activiti如何修改登錄用戶名?在哪個數據庫裏面添加。

2、activiti的啓動和部署在http://activiti.org/userguide/index.html#demo.setup.one.minute.version

這裏尋找。

3、activiti如何表示當前流程到哪個結點了?如何加深顯示某個結點?實現的方式是修改一個bpmn流程圖,還是顯示多個bpmn流程圖(每個流程圖加深的結點不一樣)。

4、如何訪問項目的流程圖?是直接通過url嗎?

5、數據庫配置


<property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti" />
<property name="jdbcDriver" value="com.mysql.jdbc.Driver" />
<property name="jdbcUsername" value="root" />
<property name="jdbcPassword" value="" />

activiti.cfg.xml的目錄是放在/activiti/src/main/resources/activiti.cfg.xml

24224552-74530b21faca473ab8eab88d965bdeb


24224705-aa66f3ebc4674e3d88038cfb8392600



By extending ActivitiTestCase, you can annotate test methods with org.activiti.engine.test.Deployment. Before the test is run, a resource file of the form testClassName.testMethod.bpmn20.xml in the same package as the test class, will be deployed. At the end of the test, the deployment will be deleted, including all related process instances, tasks, etc. The Deployment annotation also supports setting the resource location explicitly. See the Javadoc for more details.

當基於ActivitiTestCase進行單元測試時,可以使用org.activiti.engine.test.Deployment註釋來指定要進行測試的方法。在測試運行前,流程引擎會先部署測試類所在目錄下一個名稱爲testClassName.testMethod.bpmn20.xml 流程定義文件。當測試運行結束後,該部署將會被刪除,同時也會刪除相關的流程實例、任務等數據。Deployment 註釋也可以明確的指定資源文件所在路徑。詳細信息可以查看javadoc.





轉載自:

http://www.cnblogs.com/usual2013blog/p/3279245.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章