<?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="m1553596687364" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema"> <process id="approvalProcess" isClosed="false" isExecutable="true" name="ApprovalProcess" processType="None"> <startEvent id="_2" name="StartEvent"/> <userTask activiti:assignee="accountant" activiti:exclusive="true" id="_3" name="会计"/> <userTask activiti:assignee="compliance_chief" activiti:exclusive="true" id="_4" name="合规负责人"/> <sequenceFlow id="_6" name="连线" sourceRef="_2" targetRef="_3"/> <sequenceFlow id="_7" name="提交" sourceRef="_3" targetRef="_4"/> <parallelGateway gatewayDirection="Unspecified" id="_9" name="ParallelGateway"/> <userTask activiti:assignee="tax_bp" activiti:exclusive="true" id="_11" name="税务BP"/> <userTask activiti:assignee="compliance_ia" activiti:exclusive="true" id="_12" name="合规IA"/> <sequenceFlow id="_13" sourceRef="_9" targetRef="_11"/> <sequenceFlow id="_14" sourceRef="_9" targetRef="_12"/> <parallelGateway gatewayDirection="Unspecified" id="_20" name="ParallelGateway"/> <sequenceFlow id="_22" name="通过" sourceRef="_12" targetRef="_20"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==1}]]></conditionExpression> </sequenceFlow> <endEvent id="_26" name="EndEvent"/> <sequenceFlow id="_28" name="审批" sourceRef="_20" targetRef="_26"/> <sequenceFlow id="_29" name="驳回" sourceRef="_11" targetRef="_4"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==0}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="_5" name="驳回" sourceRef="_12" targetRef="_4"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==0}]]></conditionExpression> </sequenceFlow> <exclusiveGateway gatewayDirection="Unspecified" id="_8" name="ExclusiveGateway"/> <sequenceFlow id="_15" name="通过" sourceRef="_8" targetRef="_9"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==1}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="_17" name="审批" sourceRef="_4" targetRef="_8"/> <sequenceFlow id="_10" name="驳回" sourceRef="_8" targetRef="_3"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==0}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="_16" name="通过" sourceRef="_11" targetRef="_20"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${decide==1}]]></conditionExpression> </sequenceFlow> </process> <bpmndi:BPMNDiagram documentation="background=#32424A;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="approvalProcess"> <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2"> <omgdc:Bounds height="32.0" width="32.0" x="-5.0" y="155.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"> <omgdc:Bounds height="55.0" width="85.0" x="65.0" y="140.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"> <omgdc:Bounds height="55.0" width="85.0" x="170.0" y="75.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9"> <omgdc:Bounds height="32.0" width="32.0" x="440.0" y="125.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_11" id="Shape-_11"> <omgdc:Bounds height="55.0" width="85.0" x="525.0" y="10.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_12" id="Shape-_12"> <omgdc:Bounds height="55.0" width="85.0" x="525.0" y="270.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_20" id="Shape-_20"> <omgdc:Bounds height="32.0" width="32.0" x="650.0" y="150.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_26" id="Shape-_26"> <omgdc:Bounds height="32.0" width="32.0" x="740.0" y="150.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_8" id="Shape-_8" isMarkerVisible="false"> <omgdc:Bounds height="32.0" width="32.0" x="290.0" y="265.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="_13" id="BPMNEdge__13" sourceElement="_9" targetElement="_11"> <omgdi:waypoint x="472.0" y="141.0"/> <omgdi:waypoint x="525.0" y="37.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_8" targetElement="_9"> <omgdi:waypoint x="322.0" y="281.0"/> <omgdi:waypoint x="440.0" y="141.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_14" id="BPMNEdge__14" sourceElement="_9" targetElement="_12"> <omgdi:waypoint x="472.0" y="141.0"/> <omgdi:waypoint x="525.0" y="297.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_28" id="BPMNEdge__28" sourceElement="_20" targetElement="_26"> <omgdi:waypoint x="682.0" y="166.0"/> <omgdi:waypoint x="740.0" y="166.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_17" id="BPMNEdge__17" sourceElement="_4" targetElement="_8"> <omgdi:waypoint x="255.0" y="102.5"/> <omgdi:waypoint x="290.0" y="281.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_16" id="BPMNEdge__16" sourceElement="_11" targetElement="_20"> <omgdi:waypoint x="610.0" y="37.5"/> <omgdi:waypoint x="650.0" y="166.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_29" id="BPMNEdge__29" sourceElement="_11" targetElement="_4"> <omgdi:waypoint x="525.0" y="37.5"/> <omgdi:waypoint x="255.0" y="102.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_5" id="BPMNEdge__5" sourceElement="_12" targetElement="_4"> <omgdi:waypoint x="525.0" y="297.5"/> <omgdi:waypoint x="255.0" y="102.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_6" id="BPMNEdge__6" sourceElement="_2" targetElement="_3"> <omgdi:waypoint x="27.0" y="171.0"/> <omgdi:waypoint x="65.0" y="167.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_7" id="BPMNEdge__7" sourceElement="_3" targetElement="_4"> <omgdi:waypoint x="150.0" y="167.5"/> <omgdi:waypoint x="170.0" y="102.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_22" id="BPMNEdge__22" sourceElement="_12" targetElement="_20"> <omgdi:waypoint x="610.0" y="297.5"/> <omgdi:waypoint x="650.0" y="166.0"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="_8" targetElement="_3"> <omgdi:waypoint x="290.0" y="281.0"/> <omgdi:waypoint x="150.0" y="167.5"/> <bpmndi:BPMNLabel> <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>