approval.bpmn 6.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<?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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.activiti.org/testm1539848247913" 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="m1539848247913" name="" targetNamespace="http://www.activiti.org/testm1539848247913" typeLanguage="http://www.w3.org/2001/XMLSchema">
  <process id="approvalProcess" isClosed="false" isExecutable="true" name="ApprovalProcess" processType="None">
    <startEvent id="_2" name="StartEvent"/>
    <userTask activiti:assignee="accountant" activiti:exclusive="true" id="_3" name="税务会计"/>
    <sequenceFlow id="_4" sourceRef="_2" targetRef="_3"/>
    <userTask activiti:assignee="manager" activiti:exclusive="true" id="_5" name="税务经理"/>
    <endEvent id="_7" name="EndEvent"/>
    <endEvent id="_9" name="EndEvent"/>
    <exclusiveGateway gatewayDirection="Unspecified" id="_12" name="ExclusiveGateway"/>
11
    <sequenceFlow id="_13" name="审核" sourceRef="_5" targetRef="_12"/>
12
    <sequenceFlow id="_8" name="通过" sourceRef="_12" targetRef="_7">
13
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==1}]]></conditionExpression>
14 15
    </sequenceFlow>
    <sequenceFlow id="_10" name="驳回" sourceRef="_12" targetRef="_9">
16
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==0}]]></conditionExpression>
17 18 19 20
    </sequenceFlow>
    <exclusiveGateway gatewayDirection="Unspecified" id="_11" name="ExclusiveGateway"/>
    <sequenceFlow id="_14" name="提审" sourceRef="_3" targetRef="_11"/>
    <sequenceFlow id="_15" name="未提交" sourceRef="_11" targetRef="_5">
21
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${committed==0}]]></conditionExpression>
22 23
    </sequenceFlow>
    <sequenceFlow id="_16" name="已提交" sourceRef="_11" targetRef="_9">
24
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${committed==1}]]></conditionExpression>
25 26 27 28 29
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram documentation="background=#FFFFFF;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="approvalProcess">
      <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
30
        <dc:Bounds height="32.0" width="32.0" x="50.0" y="380.0"/>
31 32 33 34 35 36 37 38 39 40 41
        <bpmndi:BPMNLabel>
          <dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
        <dc:Bounds height="55.0" width="85.0" x="190.0" y="370.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
42
        <dc:Bounds height="55.0" width="85.0" x="410.0" y="165.0"/>
43 44 45 46 47 48 49 50 51 52 53
        <bpmndi:BPMNLabel>
          <dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_7" id="Shape-_7">
        <dc:Bounds height="32.0" width="32.0" x="765.0" y="105.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9">
54
        <dc:Bounds height="32.0" width="32.0" x="760.0" y="380.0"/>
55 56 57 58 59
        <bpmndi:BPMNLabel>
          <dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_12" id="Shape-_12" isMarkerVisible="false">
60
        <dc:Bounds height="32.0" width="32.0" x="640.0" y="175.0"/>
61 62 63 64 65
        <bpmndi:BPMNLabel>
          <dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_11" id="Shape-_11" isMarkerVisible="false">
66
        <dc:Bounds height="32.0" width="32.0" x="440.0" y="380.0"/>
67 68 69 70 71
        <bpmndi:BPMNLabel>
          <dc: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="_5" targetElement="_12">
72
        <di:waypoint x="510.0" y="192.5"/>
73
        <di:waypoint x="640.0" y="191.0"/>
74 75 76 77 78
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_11" targetElement="_5">
79
        <di:waypoint x="456.0" y="365.0"/>
80
        <di:waypoint x="456.0" y="220.0"/>
81 82 83 84 85
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_14" id="BPMNEdge__14" sourceElement="_3" targetElement="_11">
86
        <di:waypoint x="290.0" y="397.5"/>
87
        <di:waypoint x="440.0" y="396.0"/>
88 89 90 91 92
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_16" id="BPMNEdge__16" sourceElement="_11" targetElement="_9">
93
        <di:waypoint x="487.0" y="396.0"/>
94
        <di:waypoint x="760.0" y="396.0"/>
95 96 97 98 99
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_4" id="BPMNEdge__4" sourceElement="_2" targetElement="_3">
100
        <di:waypoint x="97.0" y="396.0"/>
101 102 103 104 105 106
        <di:waypoint x="190.0" y="397.5"/>
        <bpmndi:BPMNLabel>
          <dc: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="_12" targetElement="_7">
107
        <di:waypoint x="687.0" y="191.0"/>
108 109 110 111 112 113
        <di:waypoint x="765.0" y="121.0"/>
        <bpmndi:BPMNLabel>
          <dc: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="_12" targetElement="_9">
114
        <di:waypoint x="687.0" y="191.0"/>
115
        <di:waypoint x="760.0" y="396.0"/>
116 117 118 119 120 121 122
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>