wangliang 4 роки тому
батько
коміт
a742a155be

+ 13 - 13
distributed-print/src/main/resources/processes/process-1.bpmn

@@ -1,35 +1,35 @@
 <?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="m1625811921092" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
-  <process id="myProcess_1" isClosed="false" isExecutable="true" processType="None">
-    <startEvent id="_2" name="开始"/>
-    <userTask activiti:exclusive="true" id="_3" name="提交申请"/>
-    <endEvent id="_4" name="结束"/>
-    <userTask activiti:exclusive="true" id="_5" name="审核"/>
-    <sequenceFlow id="_6" sourceRef="_2" targetRef="_3"/>
-    <sequenceFlow id="_7" sourceRef="_3" targetRef="_5"/>
-    <sequenceFlow id="_8" sourceRef="_5" targetRef="_4"/>
+  <process id="test_flow" isClosed="false" isExecutable="true" processType="None">
+    <startEvent id="testStart" name="开始"/>
+    <userTask activiti:assignee="mt01" activiti:exclusive="true" id="process1" name="提交申请"/>
+    <endEvent id="testEnd" name="结束"/>
+    <userTask activiti:assignee="mt02" activiti:exclusive="true" id="process2" name="审核"/>
+    <sequenceFlow id="_6" sourceRef="testStart" targetRef="process1"/>
+    <sequenceFlow id="_7" sourceRef="process1" targetRef="process2"/>
+    <sequenceFlow id="_8" sourceRef="process2" targetRef="testEnd"/>
   </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="myProcess_1">
-      <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
+    <bpmndi:BPMNPlane bpmnElement="test_flow">
+      <bpmndi:BPMNShape bpmnElement="testStart" id="Shape-testStart">
         <omgdc:Bounds height="32.0" width="32.0" x="175.0" y="25.0"/>
         <bpmndi:BPMNLabel>
           <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
+      <bpmndi:BPMNShape bpmnElement="process1" id="Shape-process1">
         <omgdc:Bounds height="55.0" width="85.0" x="150.0" y="115.0"/>
         <bpmndi:BPMNLabel>
           <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_4" id="Shape-_4">
+      <bpmndi:BPMNShape bpmnElement="testEnd" id="Shape-testEnd">
         <omgdc:Bounds height="32.0" width="32.0" x="180.0" y="355.0"/>
         <bpmndi:BPMNLabel>
           <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
+      <bpmndi:BPMNShape bpmnElement="process2" id="Shape-process2">
         <omgdc:Bounds height="55.0" width="85.0" x="150.0" y="245.0"/>
         <bpmndi:BPMNLabel>
           <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>