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

activiti总结

 

activiti总结

 

 

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.

 

 

 

 

你可能感兴趣的:(Activiti)