| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?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="eoegLock" name="EOEG锁开锁关申请流程" isExecutable="true">
- <startEvent id="startevent1" name="Start"></startEvent>
- <userTask id="applyTask" name="申请人提交申请" activiti:assignee="#{applyuser}"></userTask>
- <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="applyTask"></sequenceFlow>
- <userTask id="pgrtask" name="评估人" activiti:assignee="#{safaer}"></userTask>
- <sequenceFlow id="flow2" sourceRef="applyTask" targetRef="pgrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow3" name="驳回" sourceRef="pgrtask" targetRef="applyTask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
- </sequenceFlow>
- <exclusiveGateway id="exclusivegateway" name="判断等级"></exclusiveGateway>
- <sequenceFlow id="flow4" sourceRef="pgrtask" targetRef="exclusivegateway">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="pzrtask" name="批准人" activiti:candidateUsers="#{approver}"></userTask>
- <sequenceFlow id="flow6" name="B 级风险" sourceRef="exclusivegateway" targetRef="pzrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${lockLevel == 2}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow8" name="驳回" sourceRef="pzrtask" targetRef="pgrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="pgrtask2" name="评估人2" activiti:assignee="#{safaer}"></userTask>
- <sequenceFlow id="flow9" name="C/D 级风险" sourceRef="exclusivegateway" targetRef="pgrtask2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${lockLevel == 1}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="csqrrtask" name="措施确认人" activiti:assignee="#{safaer}"></userTask>
- <sequenceFlow id="flow10" sourceRef="pgrtask2" targetRef="csqrrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow11" sourceRef="pzrtask" targetRef="csqrrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="bgqrrtask" name="变更确认人" activiti:assignee="#{changeConfirmer}"></userTask>
- <sequenceFlow id="flow12" sourceRef="csqrrtask" targetRef="bgqrrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="bztask" name="班长" activiti:candidateUsers="#{monitor}"></userTask>
- <sequenceFlow id="flow13" sourceRef="bgqrrtask" targetRef="bztask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endevent1" name="End"></endEvent>
- <sequenceFlow id="flow14" sourceRef="bztask" targetRef="endevent1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endevent2" name="End"></endEvent>
- <sequenceFlow id="flow15" name="拒绝" sourceRef="pgrtask" targetRef="endevent2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow16" name="拒绝" sourceRef="pzrtask" targetRef="endevent2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow17" name="拒绝" sourceRef="pgrtask2" targetRef="endevent2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow18" name="驳回" sourceRef="pgrtask2" targetRef="pgrtask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
- </sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_eoegLock">
- <bpmndi:BPMNPlane bpmnElement="eoegLock" id="BPMNPlane_eoegLock">
- <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="270.0" y="50.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="applyTask" id="BPMNShape_applyTask">
- <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="120.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="pgrtask" id="BPMNShape_pgrtask">
- <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="210.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway" id="BPMNShape_exclusivegateway">
- <omgdc:Bounds height="40.0" width="40.0" x="267.0" y="310.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="pzrtask" id="BPMNShape_pzrtask">
- <omgdc:Bounds height="55.0" width="105.0" x="380.0" y="303.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="pgrtask2" id="BPMNShape_pgrtask2">
- <omgdc:Bounds height="55.0" width="105.0" x="90.0" y="303.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="csqrrtask" id="BPMNShape_csqrrtask">
- <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="400.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="bgqrrtask" id="BPMNShape_bgqrrtask">
- <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="500.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="bztask" id="BPMNShape_bztask">
- <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="600.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="270.0" y="690.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
- <omgdc:Bounds height="35.0" width="35.0" x="580.0" y="220.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
- <omgdi:waypoint x="287.0" y="85.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="120.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
- <omgdi:waypoint x="287.0" y="175.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="210.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
- <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="407.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="407.0" y="206.0"></omgdi:waypoint>
- <omgdi:waypoint x="407.0" y="147.0"></omgdi:waypoint>
- <omgdi:waypoint x="340.0" y="147.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="22.0" x="409.0" y="180.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
- <omgdi:waypoint x="287.0" y="265.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="310.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
- <omgdi:waypoint x="307.0" y="330.0"></omgdi:waypoint>
- <omgdi:waypoint x="380.0" y="330.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="44.0" x="307.0" y="330.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
- <omgdi:waypoint x="432.0" y="303.0"></omgdi:waypoint>
- <omgdi:waypoint x="432.0" y="243.0"></omgdi:waypoint>
- <omgdi:waypoint x="420.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="22.0" x="432.0" y="267.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
- <omgdi:waypoint x="267.0" y="330.0"></omgdi:waypoint>
- <omgdi:waypoint x="195.0" y="330.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="55.0" x="210.0" y="330.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
- <omgdi:waypoint x="142.0" y="358.0"></omgdi:waypoint>
- <omgdi:waypoint x="142.0" y="427.0"></omgdi:waypoint>
- <omgdi:waypoint x="235.0" y="427.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
- <omgdi:waypoint x="432.0" y="358.0"></omgdi:waypoint>
- <omgdi:waypoint x="432.0" y="427.0"></omgdi:waypoint>
- <omgdi:waypoint x="340.0" y="427.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
- <omgdi:waypoint x="287.0" y="455.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="500.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
- <omgdi:waypoint x="287.0" y="555.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="600.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
- <omgdi:waypoint x="287.0" y="655.0"></omgdi:waypoint>
- <omgdi:waypoint x="287.0" y="690.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
- <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="580.0" y="237.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="22.0" x="449.0" y="220.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
- <omgdi:waypoint x="485.0" y="330.0"></omgdi:waypoint>
- <omgdi:waypoint x="597.0" y="330.0"></omgdi:waypoint>
- <omgdi:waypoint x="597.0" y="255.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="22.0" x="529.0" y="315.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
- <omgdi:waypoint x="142.0" y="303.0"></omgdi:waypoint>
- <omgdi:waypoint x="142.0" y="28.0"></omgdi:waypoint>
- <omgdi:waypoint x="597.0" y="28.0"></omgdi:waypoint>
- <omgdi:waypoint x="597.0" y="220.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="100.0" x="332.0" y="31.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
- <omgdi:waypoint x="142.0" y="303.0"></omgdi:waypoint>
- <omgdi:waypoint x="142.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="235.0" y="237.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="100.0" x="168.0" y="236.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|