|
@@ -1,72 +1,48 @@
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
-<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" targetNamespace="http://www.activiti.org/test" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="17.7.1">
|
|
|
|
|
|
+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
|
<process id="dsdtTraining" name="导师带徒经理审批" isExecutable="true">
|
|
<process id="dsdtTraining" name="导师带徒经理审批" isExecutable="true">
|
|
- <startEvent id="startDsdt" name="开始" activiti:initiator="${applyUser}" />
|
|
|
|
- <userTask id="jlTask" name="装置经理" activiti:candidateUsers="#{jluser}" />
|
|
|
|
- <userTask id="xyTask" name="学员确认" activiti:assignee="#{xyuser}" />
|
|
|
|
- <endEvent id="endDsdt" name="End" />
|
|
|
|
- <sequenceFlow id="flow1" sourceRef="startDsdt" targetRef="xyTask" />
|
|
|
|
- <sequenceFlow id="flow4" name="通过" sourceRef="xyTask" targetRef="jlTask">
|
|
|
|
- <conditionExpression xsi:type="tFormalExpression">${condition1 == 1}</conditionExpression>
|
|
|
|
- </sequenceFlow>
|
|
|
|
|
|
+ <startEvent id="startDsdt" name="开始" activiti:initiator="${applyUser}"></startEvent>
|
|
|
|
+ <userTask id="jlTask" name="装置经理" activiti:candidateUsers="#{jluser}"></userTask>
|
|
|
|
+ <endEvent id="endDsdt" name="End"></endEvent>
|
|
|
|
+ <sequenceFlow id="flow1" sourceRef="startDsdt" targetRef="jlTask"></sequenceFlow>
|
|
<sequenceFlow id="flow2" name="通过" sourceRef="jlTask" targetRef="endDsdt">
|
|
<sequenceFlow id="flow2" name="通过" sourceRef="jlTask" targetRef="endDsdt">
|
|
- <conditionExpression xsi:type="tFormalExpression">${condition == 1}</conditionExpression>
|
|
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
</sequenceFlow>
|
|
- <endEvent id="endDsdt2" name="End" />
|
|
|
|
|
|
+ <endEvent id="endDsdt2" name="End"></endEvent>
|
|
<sequenceFlow id="flow3" name="不通过" sourceRef="jlTask" targetRef="endDsdt2">
|
|
<sequenceFlow id="flow3" name="不通过" sourceRef="jlTask" targetRef="endDsdt2">
|
|
- <conditionExpression xsi:type="tFormalExpression">${condition == 0}</conditionExpression>
|
|
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
</sequenceFlow>
|
|
</process>
|
|
</process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_dsdtTraining">
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_dsdtTraining">
|
|
- <bpmndi:BPMNPlane id="BPMNPlane_dsdtTraining" bpmnElement="dsdtTraining">
|
|
|
|
- <bpmndi:BPMNShape id="BPMNShape_jlTask" bpmnElement="jlTask">
|
|
|
|
- <omgdc:Bounds x="405" y="50" width="105" height="55" />
|
|
|
|
|
|
+ <bpmndi:BPMNPlane bpmnElement="dsdtTraining" id="BPMNPlane_dsdtTraining">
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="startDsdt" id="BPMNShape_startDsdt">
|
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="70.0" y="60.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNShape>
|
|
- <bpmndi:BPMNShape id="BPMNShape_endDsdt" bpmnElement="endDsdt">
|
|
|
|
- <omgdc:Bounds x="570" y="60" width="35" height="35" />
|
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
|
- <omgdc:Bounds x="578" y="95" width="20" height="14" />
|
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="jlTask" id="BPMNShape_jlTask">
|
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="170.0" y="50.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNShape>
|
|
- <bpmndi:BPMNShape id="BPMNShape_startDsdt" bpmnElement="startDsdt">
|
|
|
|
- <omgdc:Bounds x="152" y="60" width="35" height="35" />
|
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
|
- <omgdc:Bounds x="159" y="95" width="22" height="14" />
|
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="endDsdt" id="BPMNShape_endDsdt">
|
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="340.0" y="60.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNShape>
|
|
- <bpmndi:BPMNShape id="BPMNShape_xyTask" bpmnElement="xyTask">
|
|
|
|
- <omgdc:Bounds x="237" y="50" width="105" height="55" />
|
|
|
|
- <bpmndi:BPMNLabel />
|
|
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="endDsdt2" id="BPMNShape_endDsdt2">
|
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="205.0" y="140.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNShape>
|
|
- <bpmndi:BPMNShape id="BPMNShape_endDsdt2" bpmnElement="endDsdt2">
|
|
|
|
- <omgdc:Bounds x="440" y="142" width="35" height="35" />
|
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
|
- <omgdc:Bounds x="448" y="177" width="20" height="14" />
|
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
|
- </bpmndi:BPMNShape>
|
|
|
|
- <bpmndi:BPMNEdge id="BPMNEdge_flow1" bpmnElement="flow1">
|
|
|
|
- <omgdi:waypoint x="187" y="77" />
|
|
|
|
- <omgdi:waypoint x="237" y="77" />
|
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
|
- <bpmndi:BPMNEdge id="BPMNEdge_flow4" bpmnElement="flow4">
|
|
|
|
- <omgdi:waypoint x="342" y="77" />
|
|
|
|
- <omgdi:waypoint x="405" y="77" />
|
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
|
- <omgdc:Bounds x="363" y="59" width="22" height="14" />
|
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
|
|
|
+ <omgdi:waypoint x="105.0" y="77.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="170.0" y="77.0"></omgdi:waypoint>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
- <bpmndi:BPMNEdge id="BPMNEdge_flow2" bpmnElement="flow2">
|
|
|
|
- <omgdi:waypoint x="510" y="77" />
|
|
|
|
- <omgdi:waypoint x="570" y="77" />
|
|
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
|
|
|
+ <omgdi:waypoint x="275.0" y="77.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="340.0" y="77.0"></omgdi:waypoint>
|
|
<bpmndi:BPMNLabel>
|
|
<bpmndi:BPMNLabel>
|
|
- <omgdc:Bounds x="529" y="79" width="22" height="14" />
|
|
|
|
|
|
+ <omgdc:Bounds height="16.0" width="32.0" x="289.0" y="79.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
- <bpmndi:BPMNEdge id="BPMNEdge_flow3" bpmnElement="flow3">
|
|
|
|
- <omgdi:waypoint x="457" y="105" />
|
|
|
|
- <omgdi:waypoint x="457" y="142" />
|
|
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
|
|
|
+ <omgdi:waypoint x="222.0" y="105.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="222.0" y="140.0"></omgdi:waypoint>
|
|
<bpmndi:BPMNLabel>
|
|
<bpmndi:BPMNLabel>
|
|
- <omgdc:Bounds x="413" y="120" width="33" height="14" />
|
|
|
|
|
|
+ <omgdc:Bounds height="16.0" width="48.0" x="227.0" y="109.0"></omgdc:Bounds>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNPlane>
|