|
@@ -2,16 +2,16 @@
|
|
|
<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="offlinevalve" name="安全阀离线/切出申请流程" isExecutable="true">
|
|
|
<startEvent id="startevent1" name="Start"></startEvent>
|
|
|
- <userTask id="confirmertask1" name="临时措施确认人1" activiti:assignee="#{confirmer}"></userTask>
|
|
|
+ <userTask id="confirmertask1" name="临时措施确认人1" activiti:candidateUsers="#{confirmer}"></userTask>
|
|
|
<userTask id="executortask" name="临时措施执行人" activiti:assignee="#{executor}"></userTask>
|
|
|
<sequenceFlow id="flow1" name="通过" sourceRef="confirmertask1" targetRef="executortask">
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
|
- <userTask id="confirmertask2" name="临时措施确认人2" activiti:assignee="#{confirmer}"></userTask>
|
|
|
+ <userTask id="confirmertask2" name="临时措施确认人2" activiti:candidateUsers="#{confirmer}"></userTask>
|
|
|
<sequenceFlow id="flow2" name="通过" sourceRef="executortask" targetRef="confirmertask2">
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
|
- <userTask id="approvertask" name="批准人" activiti:assignee="#{approver}"></userTask>
|
|
|
+ <userTask id="approvertask" name="批准人" activiti:candidateUsers="#{approver}"></userTask>
|
|
|
<sequenceFlow id="flow3" name="通过" sourceRef="confirmertask2" targetRef="approvertask">
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
@@ -20,7 +20,7 @@
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
|
<endEvent id="endevent1" name="End"></endEvent>
|
|
|
- <userTask id="infoconfirmertask2" name="信息确认人" activiti:assignee="#{infoconfirmer}"></userTask>
|
|
|
+ <userTask id="infoconfirmertask2" name="信息确认人2" activiti:assignee="#{infoconfirmer}"></userTask>
|
|
|
<sequenceFlow id="flow7" name="NA" sourceRef="isunlock" targetRef="infoconfirmertask2">
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${is_unlock == 0}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
@@ -56,6 +56,7 @@
|
|
|
<sequenceFlow id="flow18" name="拒绝" sourceRef="confirmertask1" targetRef="endevent2">
|
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
|
|
|
</sequenceFlow>
|
|
|
+ <association id="association1" sourceRef="textannotation1" targetRef="infoconfirmertask2"></association>
|
|
|
</process>
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_offlinevalve">
|
|
|
<bpmndi:BPMNPlane bpmnElement="offlinevalve" id="BPMNPlane_offlinevalve">
|
|
@@ -99,56 +100,56 @@
|
|
|
<omgdi:waypoint x="417.0" y="225.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="417.0" y="260.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="417.0" y="225.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="417.0" y="225.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
|
|
<omgdi:waypoint x="417.0" y="315.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="417.0" y="350.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="417.0" y="315.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="417.0" y="315.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
|
|
<omgdi:waypoint x="417.0" y="405.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="417.0" y="440.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="417.0" y="405.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="417.0" y="405.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
|
|
|
<omgdi:waypoint x="417.0" y="495.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="417.0" y="520.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="417.0" y="495.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="417.0" y="495.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
|
|
|
<omgdi:waypoint x="417.0" y="560.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="416.0" y="600.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="421.0" y="568.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="15.0" x="421.0" y="568.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
|
|
|
<omgdi:waypoint x="416.0" y="655.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="416.0" y="710.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="416.0" y="655.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="416.0" y="655.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
|
|
|
<omgdi:waypoint x="397.0" y="540.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="355.0" y="540.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="368.0" y="547.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="27.0" x="368.0" y="547.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
|
|
|
<omgdi:waypoint x="250.0" y="540.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="215.0" y="540.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="221.0" y="547.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="221.0" y="547.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
|
|
@@ -156,7 +157,7 @@
|
|
|
<omgdi:waypoint x="161.0" y="627.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="364.0" y="627.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="162.0" y="568.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="162.0" y="568.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
|
|
@@ -167,7 +168,7 @@
|
|
|
<omgdi:waypoint x="417.0" y="135.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="417.0" y="170.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="417.0" y="135.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="417.0" y="135.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
|
|
@@ -176,7 +177,7 @@
|
|
|
<omgdi:waypoint x="538.0" y="107.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="470.0" y="107.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="509.0" y="149.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="509.0" y="149.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
|
|
@@ -185,7 +186,7 @@
|
|
|
<omgdi:waypoint x="537.0" y="197.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="470.0" y="197.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="509.0" y="316.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="509.0" y="316.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
|
|
@@ -193,7 +194,7 @@
|
|
|
<omgdi:waypoint x="187.0" y="467.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="187.0" y="365.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="281.0" y="470.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="281.0" y="470.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
|
|
@@ -201,7 +202,7 @@
|
|
|
<omgdi:waypoint x="187.0" y="197.0"></omgdi:waypoint>
|
|
|
<omgdi:waypoint x="187.0" y="330.0"></omgdi:waypoint>
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="100.0" x="266.0" y="200.0"></omgdc:Bounds>
|
|
|
+ <omgdc:Bounds height="14.0" width="24.0" x="266.0" y="200.0"></omgdc:Bounds>
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
</bpmndi:BPMNPlane>
|