|
@@ -0,0 +1,228 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<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="myProcess" name="My process" isExecutable="true">
|
|
|
+ <startEvent id="startevent1" name="Start"></startEvent>
|
|
|
+ <userTask id="usertask1" name="安全评估人"></userTask>
|
|
|
+ <sequenceFlow id="flow1" name="通过" sourceRef="usertask8" targetRef="usertask1">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask2" name="批准人"></userTask>
|
|
|
+ <userTask id="usertask3" name="措施执行人"></userTask>
|
|
|
+ <sequenceFlow id="flow3" name="通过" sourceRef="usertask2" targetRef="usertask3">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask4" name="措施确认人"></userTask>
|
|
|
+ <sequenceFlow id="flow4" name="通过" sourceRef="usertask3" targetRef="usertask4">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask5" name="变更执行人"></userTask>
|
|
|
+ <sequenceFlow id="flow5" name="通过" sourceRef="usertask4" targetRef="usertask5">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask6" name="确认人1"></userTask>
|
|
|
+ <sequenceFlow id="flow6" name="通过" sourceRef="usertask9" targetRef="usertask6">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask7" name="确认人2(安全评估人)"></userTask>
|
|
|
+ <sequenceFlow id="flow7" name="通过" sourceRef="usertask6" targetRef="usertask7"></sequenceFlow>
|
|
|
+ <userTask id="usertask8" name="申请人提交申请"></userTask>
|
|
|
+ <sequenceFlow id="flow8" sourceRef="startevent1" targetRef="usertask8"></sequenceFlow>
|
|
|
+ <sequenceFlow id="flow11" name="驳回" sourceRef="usertask1" targetRef="usertask8">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <sequenceFlow id="flow12" name="通过" sourceRef="usertask1" targetRef="usertask2">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <sequenceFlow id="flow13" name="驳回" sourceRef="usertask2" targetRef="usertask1">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <endEvent id="endevent1" name="End"></endEvent>
|
|
|
+ <sequenceFlow id="flow14" name="通过" sourceRef="usertask7" targetRef="endevent1">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <endEvent id="endevent2" name="End"></endEvent>
|
|
|
+ <sequenceFlow id="flow15" name="拒绝" sourceRef="usertask1" targetRef="endevent2">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <sequenceFlow id="flow16" name="拒绝" sourceRef="usertask2" targetRef="endevent2">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <userTask id="usertask9" name="安全评估人"></userTask>
|
|
|
+ <sequenceFlow id="flow17" name="通过" sourceRef="usertask5" targetRef="usertask9">
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
|
|
|
+ </sequenceFlow>
|
|
|
+ <textAnnotation id="textannotation1">
|
|
|
+ <text>开始</text>
|
|
|
+ </textAnnotation>
|
|
|
+ <association id="association1" sourceRef="textannotation1" targetRef="startevent1"></association>
|
|
|
+ <textAnnotation id="textannotation2">
|
|
|
+ <text>结束</text>
|
|
|
+ </textAnnotation>
|
|
|
+ <association id="association2" sourceRef="textannotation2" targetRef="endevent2"></association>
|
|
|
+ <textAnnotation id="textannotation3">
|
|
|
+ <text>结束</text>
|
|
|
+ </textAnnotation>
|
|
|
+ <association id="association3" sourceRef="textannotation3" targetRef="endevent1"></association>
|
|
|
+ </process>
|
|
|
+ <bpmndi:BPMNDiagram id="BPMNDiagram_myProcess">
|
|
|
+ <bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess">
|
|
|
+ <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="410.0" y="8.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="375.0" y="189.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="375.0" y="269.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="375.0" y="350.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="520.0" y="350.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask5" id="BPMNShape_usertask5">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="670.0" y="350.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask6" id="BPMNShape_usertask6">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="520.0" y="469.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask7" id="BPMNShape_usertask7">
|
|
|
+ <omgdc:Bounds height="71.0" width="105.0" x="377.0" y="461.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask8" id="BPMNShape_usertask8">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="375.0" y="89.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="412.0" y="569.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="620.0" y="279.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask9" id="BPMNShape_usertask9">
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="670.0" y="469.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="textannotation1" id="BPMNShape_textannotation1">
|
|
|
+ <omgdc:Bounds height="50.0" width="100.0" x="479.0" y="1.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="textannotation2" id="BPMNShape_textannotation2">
|
|
|
+ <omgdc:Bounds height="50.0" width="100.0" x="684.0" y="272.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape bpmnElement="textannotation3" id="BPMNShape_textannotation3">
|
|
|
+ <omgdc:Bounds height="50.0" width="100.0" x="485.0" y="562.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
|
|
+ <omgdi:waypoint x="427.0" y="144.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="427.0" y="189.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="427.0" y="144.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
|
|
+ <omgdi:waypoint x="427.0" y="324.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="427.0" y="350.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="427.0" y="324.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
|
|
|
+ <omgdi:waypoint x="480.0" y="377.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="520.0" y="377.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="480.0" y="377.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
|
|
|
+ <omgdi:waypoint x="625.0" y="377.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="670.0" y="377.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="625.0" y="377.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
|
|
|
+ <omgdi:waypoint x="670.0" y="496.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="625.0" y="496.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="631.0" y="496.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
|
|
|
+ <omgdi:waypoint x="520.0" y="496.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="482.0" y="496.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="491.0" y="496.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
|
|
|
+ <omgdi:waypoint x="427.0" y="43.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="427.0" y="89.0"></omgdi:waypoint>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
|
|
|
+ <omgdi:waypoint x="480.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="545.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="544.0" y="116.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="480.0" y="116.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="554.0" y="158.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
|
|
|
+ <omgdi:waypoint x="427.0" y="244.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="427.0" y="269.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="427.0" y="244.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
|
|
|
+ <omgdi:waypoint x="375.0" y="296.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="287.0" y="296.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="287.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="375.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="291.0" y="296.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
|
|
|
+ <omgdi:waypoint x="429.0" y="532.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="429.0" y="569.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="429.0" y="532.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
|
|
|
+ <omgdi:waypoint x="480.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="637.0" y="216.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="637.0" y="279.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="568.0" y="217.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
|
|
|
+ <omgdi:waypoint x="480.0" y="296.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="620.0" y="296.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="522.0" y="296.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
|
|
|
+ <omgdi:waypoint x="722.0" y="405.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="722.0" y="469.0"></omgdi:waypoint>
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <omgdc:Bounds height="14.0" width="100.0" x="722.0" y="405.0"></omgdc:Bounds>
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="association1" id="BPMNEdge_association1">
|
|
|
+ <omgdi:waypoint x="479.0" y="26.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="445.0" y="25.0"></omgdi:waypoint>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="association2" id="BPMNEdge_association2">
|
|
|
+ <omgdi:waypoint x="684.0" y="297.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="655.0" y="296.0"></omgdi:waypoint>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="association3" id="BPMNEdge_association3">
|
|
|
+ <omgdi:waypoint x="485.0" y="587.0"></omgdi:waypoint>
|
|
|
+ <omgdi:waypoint x="447.0" y="586.0"></omgdi:waypoint>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ </bpmndi:BPMNPlane>
|
|
|
+ </bpmndi:BPMNDiagram>
|
|
|
+</definitions>
|