Commit 61761ba6 authored by xiandafu's avatar xiandafu
Browse files

remove zookeeper

parent 8b0c6535
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username=root
spring.datasource.password=123456
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti="http://activiti.org/bpmn"
targetNamespace="Examples">
<!-- 最简单流程,建议从此流程入手 -->
<process id="simple" name="简单流程" activiti:processHandler="defaultTaskService">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="fillForm" />
<userTask id="fillForm" name="手工填报" >
<extensionElements>
<activiti:user roleId="fill-role" ></activiti:user>
<activiti:toolbar >
<activiti:button type="general" name="submit" displayName="提交" targetRef="agree" strategy="role">
</activiti:button>
</activiti:toolbar>
<activiti:page url=""></activiti:page>
</extensionElements>
</userTask>
<sequenceFlow id="flow2" sourceRef="fillForm" targetRef="agree" />
<userTask id="agree" name="经理复核" >
<extensionElements>
<activiti:user roleId="manager"></activiti:user>
<activiti:toolbar>
<activiti:button type="general" name="agree" displayName="同意" targetRef="theEnd"></activiti:button>
<activiti:button type="jump" name="backLast" displayName="退回" targetRef="fillForm" strategy="task_history" enable="${true}">
<para key="taskId" value="fillForm"></para>
</activiti:button>
</activiti:toolbar>
<activiti:page url="" ></activiti:page>
</extensionElements>
</userTask>
<sequenceFlow id="flow3" sourceRef="agree" targetRef="theEnd" />
<endEvent id="theEnd" />
</process>
</definitions>
\ No newline at end of file
......@@ -18,7 +18,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
<version>2.0.1.RELEASE</version>
</parent>
<!-- Add typical dependencies for a web application -->
<dependencies>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment