【Activiti】使用学习
转载:
==================================================
1、下载安装
2、清空表
3、开启sql打印
4、
5、
==================================================
1、下载安装
https://github.com/Activiti/Activiti/releases/download/activiti-6.0.0/activiti-6.0.0.zip
解压后会有三个war包
activiti-app 是较为完善的例子
activiti-admin
activiti-rest
将war包复制到tomcat的webapps目录下,启动tomcat
http://localhost:8080/activiti-app
用户名:admin
密码:test
http://localhost:8080/activiti-admin
用户名:admin
密码:admin
2、清空表
-- 取消外键约束 SET FOREIGN_KEY_CHECKS=0; DELETE FROM ACT_GE_BYTEARRAY; DELETE FROM ACT_HI_ACTINST; -- 流程 实例 DELETE FROM ACT_HI_COMMENT; -- 提交备注 DELETE FROM ACT_HI_DETAIL; -- 详情 DELETE FROM ACT_HI_IDENTITYLINK; -- 历史 身份 链接 DELETE FROM ACT_HI_PROCINST; -- 历史 执行流程实例 DELETE FROM ACT_HI_TASKINST; -- 历史 任务 实例 DELETE FROM ACT_HI_VARINST; -- 历史变量 DELETE FROM ACT_RE_DEPLOYMENT; DELETE FROM ACT_RE_MODEL; DELETE FROM ACT_RE_PROCDEF; DELETE FROM ACT_RU_EXECUTION; -- 删除执行的数据 DELETE FROM ACT_RU_IDENTITYLINK; -- 删除运行状态的 DELETE FROM ACT_RU_TASK; -- 删除任务 DELETE FROM ACT_RU_VARIABLE; -- 删除运行 变量 -- 启用外键约束 SET FOREIGN_KEY_CHECKS=1;
3、开启sql打印
logging: level: com.len.mapper: DEBUG org.activiti.engine.impl.persistence.entity: trace