secno.bpmn 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <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/testm1510735932336" 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="m1510735932336" name="" targetNamespace="http://www.activiti.org/testm1510735932336" typeLanguage="http://www.w3.org/2001/XMLSchema">
  3. <process id="helloworld" isClosed="false" isExecutable="true" name="helloworld" processType="None">
  4. <startEvent id="_2" name="StartEvent"/>
  5. <endEvent id="_3" name="EndEvent"/>
  6. <userTask activiti:assignee="${approve}" activiti:exclusive="true" id="approve" name="经理审批"/>
  7. <exclusiveGateway gatewayDirection="Unspecified" id="_5" name="ExclusiveGateway"/>
  8. <sequenceFlow id="_6" sourceRef="approve" targetRef="_5"/>
  9. <sequenceFlow id="_7" name="通过" sourceRef="_5" targetRef="_3">
  10. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass}]]></conditionExpression>
  11. </sequenceFlow>
  12. <userTask activiti:assignee="${apply}" activiti:exclusive="true" id="application" name="提交申请"/>
  13. <sequenceFlow id="_9" sourceRef="_2" targetRef="application"/>
  14. <sequenceFlow id="_10" sourceRef="application" targetRef="approve"/>
  15. <userTask activiti:assignee="${apply}" activiti:exclusive="true" id="modify" name="修改申请"/>
  16. <sequenceFlow id="_12" name="不通过" sourceRef="_5" targetRef="modify">
  17. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass}]]></conditionExpression>
  18. </sequenceFlow>
  19. <sequenceFlow id="_13" sourceRef="modify" targetRef="approve"/>
  20. </process>
  21. <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">
  22. <bpmndi:BPMNPlane bpmnElement="helloworld">
  23. <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
  24. <omgdc:Bounds height="32.0" width="32.0" x="15.0" y="60.0"/>
  25. <bpmndi:BPMNLabel>
  26. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  27. </bpmndi:BPMNLabel>
  28. </bpmndi:BPMNShape>
  29. <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
  30. <omgdc:Bounds height="32.0" width="32.0" x="630.0" y="63.0"/>
  31. <bpmndi:BPMNLabel>
  32. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  33. </bpmndi:BPMNLabel>
  34. </bpmndi:BPMNShape>
  35. <bpmndi:BPMNShape bpmnElement="approve" id="Shape-approve">
  36. <omgdc:Bounds height="55.0" width="85.0" x="315.0" y="50.0"/>
  37. <bpmndi:BPMNLabel>
  38. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  39. </bpmndi:BPMNLabel>
  40. </bpmndi:BPMNShape>
  41. <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5" isMarkerVisible="false">
  42. <omgdc:Bounds height="32.0" width="32.0" x="505.0" y="60.0"/>
  43. <bpmndi:BPMNLabel>
  44. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  45. </bpmndi:BPMNLabel>
  46. </bpmndi:BPMNShape>
  47. <bpmndi:BPMNShape bpmnElement="application" id="Shape-application">
  48. <omgdc:Bounds height="55.0" width="85.0" x="145.0" y="60.0"/>
  49. <bpmndi:BPMNLabel>
  50. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  51. </bpmndi:BPMNLabel>
  52. </bpmndi:BPMNShape>
  53. <bpmndi:BPMNShape bpmnElement="modify" id="Shape-modify">
  54. <omgdc:Bounds height="55.0" width="85.0" x="315.0" y="150.0"/>
  55. <bpmndi:BPMNLabel>
  56. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  57. </bpmndi:BPMNLabel>
  58. </bpmndi:BPMNShape>
  59. <bpmndi:BPMNEdge bpmnElement="_13" id="BPMNEdge__13" sourceElement="modify" targetElement="approve">
  60. <omgdi:waypoint x="357.5" y="150.0"/>
  61. <omgdi:waypoint x="357.5" y="105.0"/>
  62. <bpmndi:BPMNLabel>
  63. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  64. </bpmndi:BPMNLabel>
  65. </bpmndi:BPMNEdge>
  66. <bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="_5" targetElement="modify">
  67. <omgdi:waypoint x="525.0" y="88.0"/>
  68. <omgdi:waypoint x="525.0" y="177.0"/>
  69. <omgdi:waypoint x="400.0" y="177.0"/>
  70. <bpmndi:BPMNLabel>
  71. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  72. </bpmndi:BPMNLabel>
  73. </bpmndi:BPMNEdge>
  74. <bpmndi:BPMNEdge bpmnElement="_6" id="BPMNEdge__6" sourceElement="approve" targetElement="_5">
  75. <omgdi:waypoint x="400.0" y="77.5"/>
  76. <omgdi:waypoint x="505.0" y="76.0"/>
  77. <bpmndi:BPMNLabel>
  78. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  79. </bpmndi:BPMNLabel>
  80. </bpmndi:BPMNEdge>
  81. <bpmndi:BPMNEdge bpmnElement="_7" id="BPMNEdge__7" sourceElement="_5" targetElement="_3">
  82. <omgdi:waypoint x="537.0" y="76.0"/>
  83. <omgdi:waypoint x="630.0" y="79.0"/>
  84. <bpmndi:BPMNLabel>
  85. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  86. </bpmndi:BPMNLabel>
  87. </bpmndi:BPMNEdge>
  88. <bpmndi:BPMNEdge bpmnElement="_9" id="BPMNEdge__9" sourceElement="_2" targetElement="application">
  89. <omgdi:waypoint x="47.0" y="76.0"/>
  90. <omgdi:waypoint x="145.0" y="87.5"/>
  91. <bpmndi:BPMNLabel>
  92. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  93. </bpmndi:BPMNLabel>
  94. </bpmndi:BPMNEdge>
  95. <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="application" targetElement="approve">
  96. <omgdi:waypoint x="230.0" y="87.5"/>
  97. <omgdi:waypoint x="315.0" y="77.5"/>
  98. <bpmndi:BPMNLabel>
  99. <omgdc:Bounds height="-1.0" width="-1.0" x="-1.0" y="-1.0"/>
  100. </bpmndi:BPMNLabel>
  101. </bpmndi:BPMNEdge>
  102. </bpmndi:BPMNPlane>
  103. </bpmndi:BPMNDiagram>
  104. </definitions>