120 lines
6.6 KiB
Plaintext
120 lines
6.6 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
|
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.w3.org/1999/XPath" id="m1528280106375" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
|
||
|
<process id="foreignVisit" isClosed="false" isExecutable="true" name="外勤" processType="None">
|
||
|
<startEvent id="start" name="StartEvent"/>
|
||
|
<userTask activiti:assignee="${apply}" activiti:exclusive="true" id="apply" name="申请人"/>
|
||
|
<userTask activiti:exclusive="true" id="branchLeader" name="分管领导">
|
||
|
<extensionElements>
|
||
|
<activiti:taskListener class="com.xqopen.kehui.flows.util.MyTaskListener" event="create"/>
|
||
|
</extensionElements>
|
||
|
</userTask>
|
||
|
<exclusiveGateway gatewayDirection="Unspecified" id="role" name="角色判断"/>
|
||
|
<userTask activiti:exclusive="true" id="business" name="部门主任">
|
||
|
<extensionElements>
|
||
|
<activiti:taskListener class="com.xqopen.kehui.flows.util.MyTaskListener" event="create"/>
|
||
|
</extensionElements>
|
||
|
</userTask>
|
||
|
<endEvent id="end" name="EndEvent">
|
||
|
<extensionElements>
|
||
|
<activiti:executionListener class="com.xqopen.kehui.flows.util.MyExecutionListener" event="end"/>
|
||
|
</extensionElements>
|
||
|
</endEvent>
|
||
|
<sequenceFlow id="_8" sourceRef="start" targetRef="apply"/>
|
||
|
<sequenceFlow id="_9" sourceRef="apply" targetRef="role"/>
|
||
|
<sequenceFlow id="_10" name="非领导" sourceRef="role" targetRef="business">
|
||
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${isLeader==false}]]></conditionExpression>
|
||
|
</sequenceFlow>
|
||
|
<sequenceFlow id="_11" name="领导" sourceRef="role" targetRef="branchLeader">
|
||
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${isLeader==true}]]></conditionExpression>
|
||
|
</sequenceFlow>
|
||
|
<sequenceFlow id="_12" sourceRef="business" targetRef="end"/>
|
||
|
<sequenceFlow id="_13" sourceRef="branchLeader" targetRef="end"/>
|
||
|
</process>
|
||
|
<bpmndi:BPMNDiagram documentation="background=#3C3F41;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0" id="Diagram-_1" name="New Diagram">
|
||
|
<bpmndi:BPMNPlane bpmnElement="foreignVisit">
|
||
|
<bpmndi:BPMNShape bpmnElement="start" id="Shape-start">
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="220.0" y="45.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape bpmnElement="apply" id="Shape-apply">
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="195.0" y="175.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape bpmnElement="branchLeader" id="Shape-branchLeader">
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="310.0" y="400.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape bpmnElement="role" id="Shape-role" isMarkerVisible="false">
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="220.0" y="295.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape bpmnElement="business" id="Shape-business">
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="60.0" y="400.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape bpmnElement="end" id="Shape-end">
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="220.0" y="525.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_13" id="BPMNEdge__13" sourceElement="branchLeader" targetElement="end">
|
||
|
<omgdi:waypoint x="360.0" y="455.0"/>
|
||
|
<omgdi:waypoint x="360.0" y="540.0"/>
|
||
|
<omgdi:waypoint x="251.9687194226713" y="540.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="business" targetElement="end">
|
||
|
<omgdi:waypoint x="105.0" y="455.0"/>
|
||
|
<omgdi:waypoint x="105.0" y="540.0"/>
|
||
|
<omgdi:waypoint x="220.0312805773287" y="540.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="start" targetElement="apply">
|
||
|
<omgdi:waypoint x="236.0" y="77.0"/>
|
||
|
<omgdi:waypoint x="236.0" y="175.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_9" id="BPMNEdge__9" sourceElement="apply" targetElement="role">
|
||
|
<omgdi:waypoint x="236.0" y="230.0"/>
|
||
|
<omgdi:waypoint x="236.0" y="295.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_11" id="BPMNEdge__11" sourceElement="role" targetElement="branchLeader">
|
||
|
<omgdi:waypoint x="252.0" y="311.0"/>
|
||
|
<omgdi:waypoint x="355.0" y="365.0"/>
|
||
|
<omgdi:waypoint x="355.0" y="400.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="role" targetElement="business">
|
||
|
<omgdi:waypoint x="220.0" y="311.0"/>
|
||
|
<omgdi:waypoint x="105.0" y="370.0"/>
|
||
|
<omgdi:waypoint x="105.0" y="400.0"/>
|
||
|
<bpmndi:BPMNLabel>
|
||
|
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||
|
</bpmndi:BPMNLabel>
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</definitions>
|