| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 | <?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: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="lh" name="理货" isExecutable="true">    <startEvent id="startevent1" name="Start"></startEvent>    <userTask id="ldsl" name="领导受理" activiti:assignee="${applyUserId}">      <extensionElements>        <activiti:taskListener event="create" delegateExpression="${taskVarBean}">          <activiti:field name="varName">            <activiti:string><![CDATA[var_autoComplete]]></activiti:string>          </activiti:field>          <activiti:field name="varValue">            <activiti:string><![CDATA[true]]></activiti:string>          </activiti:field>        </activiti:taskListener>      </extensionElements>    </userTask>    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="ldsl"></sequenceFlow>    <userTask id="fgldsl" name="分管领导受理" activiti:assignee="${fgld}"></userTask>    <sequenceFlow id="flow2" sourceRef="ldsl" targetRef="fgldsl"></sequenceFlow>    <userTask id="kshq" name="科室会签" activiti:candidateUsers="${assignee}">      <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">        <completionCondition>${nrOfInstances==nrOfCompletedInstances}</completionCondition>      </multiInstanceLoopCharacteristics>    </userTask>    <sequenceFlow id="flow3" name="通过" sourceRef="exclusivegateway4" targetRef="kshq">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fgldsl}]]></conditionExpression>    </sequenceFlow>    <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>    <sequenceFlow id="flow4" sourceRef="kshq" targetRef="exclusivegateway1"></sequenceFlow>    <sequenceFlow id="flow5" name="不通过" sourceRef="exclusivegateway1" targetRef="fgldsl">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!countersign}]]></conditionExpression>    </sequenceFlow>    <userTask id="fgldqr" name="分管领导确认" activiti:assignee="${fgld}"></userTask>    <sequenceFlow id="flow6" name="通过" sourceRef="exclusivegateway1" targetRef="kybl">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${countersign}]]></conditionExpression>    </sequenceFlow>    <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>    <sequenceFlow id="flow7" sourceRef="fgldqr" targetRef="exclusivegateway2"></sequenceFlow>    <sequenceFlow id="flow8" name="不通过" sourceRef="exclusivegateway2" targetRef="kshq2">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fgldqr}]]></conditionExpression>    </sequenceFlow>    <userTask id="ldqr" name="领导确认" activiti:assignee="${applyUserId}"></userTask>    <sequenceFlow id="flow9" name="通过" sourceRef="exclusivegateway2" targetRef="ldqr">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fgldqr}]]></conditionExpression>    </sequenceFlow>    <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>    <sequenceFlow id="flow10" sourceRef="ldqr" targetRef="exclusivegateway3"></sequenceFlow>    <sequenceFlow id="flow11" name="不通过" sourceRef="exclusivegateway3" targetRef="fgldqr">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_ldqr}]]></conditionExpression>    </sequenceFlow>    <endEvent id="endevent1" name="End"></endEvent>    <sequenceFlow id="flow12" name="通过" sourceRef="exclusivegateway3" targetRef="endevent1">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_ldqr}]]></conditionExpression>    </sequenceFlow>    <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>    <sequenceFlow id="flow13" sourceRef="fgldsl" targetRef="exclusivegateway4"></sequenceFlow>    <sequenceFlow id="flow14" name="不通过" sourceRef="exclusivegateway4" targetRef="ldsl">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fgldsl}]]></conditionExpression>    </sequenceFlow>    <userTask id="kybl" name="科员办理" activiti:assignee="${ky}"></userTask>    <sequenceFlow id="flow15" name="通过" sourceRef="exclusivegateway5" targetRef="fgldqr">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${countersign}]]></conditionExpression>    </sequenceFlow>    <userTask id="kshq2" name="科室会签2" activiti:candidateUsers="${assignee}">      <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">        <completionCondition>${nrOfInstances==nrOfCompletedInstances}</completionCondition>      </multiInstanceLoopCharacteristics>    </userTask>    <sequenceFlow id="flow16" sourceRef="kybl" targetRef="kshq2"></sequenceFlow>    <exclusiveGateway id="exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>    <sequenceFlow id="flow17" sourceRef="kshq2" targetRef="exclusivegateway5"></sequenceFlow>    <sequenceFlow id="flow18" name="不通过" sourceRef="exclusivegateway5" targetRef="kybl">      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!countersign}]]></conditionExpression>    </sequenceFlow>  </process>  <bpmndi:BPMNDiagram id="BPMNDiagram_lh">    <bpmndi:BPMNPlane bpmnElement="lh" id="BPMNPlane_lh">      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">        <omgdc:Bounds height="35.0" width="35.0" x="30.0" y="270.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="ldsl" id="BPMNShape_ldsl">        <omgdc:Bounds height="55.0" width="105.0" x="90.0" y="260.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="fgldsl" id="BPMNShape_fgldsl">        <omgdc:Bounds height="55.0" width="105.0" x="220.0" y="260.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="kshq" id="BPMNShape_kshq">        <omgdc:Bounds height="55.0" width="105.0" x="413.0" y="260.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">        <omgdc:Bounds height="40.0" width="40.0" x="540.0" y="267.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="fgldqr" id="BPMNShape_fgldqr">        <omgdc:Bounds height="55.0" width="105.0" x="910.0" y="261.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">        <omgdc:Bounds height="40.0" width="40.0" x="1040.0" y="268.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="ldqr" id="BPMNShape_ldqr">        <omgdc:Bounds height="55.0" width="105.0" x="1100.0" y="263.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">        <omgdc:Bounds height="40.0" width="40.0" x="1220.0" y="271.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">        <omgdc:Bounds height="35.0" width="35.0" x="1305.0" y="274.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">        <omgdc:Bounds height="40.0" width="40.0" x="350.0" y="267.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="kybl" id="BPMNShape_kybl">        <omgdc:Bounds height="55.0" width="105.0" x="594.0" y="260.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="kshq2" id="BPMNShape_kshq2">        <omgdc:Bounds height="55.0" width="105.0" x="720.0" y="260.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNShape bpmnElement="exclusivegateway5" id="BPMNShape_exclusivegateway5">        <omgdc:Bounds height="40.0" width="40.0" x="840.0" y="267.0"></omgdc:Bounds>      </bpmndi:BPMNShape>      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">        <omgdi:waypoint x="65.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="90.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">        <omgdi:waypoint x="195.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="220.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">        <omgdi:waypoint x="390.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="413.0" y="287.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="24.0" x="389.0" y="297.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">        <omgdi:waypoint x="518.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="540.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">        <omgdi:waypoint x="560.0" y="267.0"></omgdi:waypoint>        <omgdi:waypoint x="560.0" y="219.0"></omgdi:waypoint>        <omgdi:waypoint x="272.0" y="219.0"></omgdi:waypoint>        <omgdi:waypoint x="272.0" y="260.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="36.0" x="394.0" y="193.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">        <omgdi:waypoint x="580.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="594.0" y="287.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="24.0" x="570.0" y="262.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">        <omgdi:waypoint x="1015.0" y="288.0"></omgdi:waypoint>        <omgdi:waypoint x="1040.0" y="288.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">        <omgdi:waypoint x="1060.0" y="308.0"></omgdi:waypoint>        <omgdi:waypoint x="1059.0" y="343.0"></omgdi:waypoint>        <omgdi:waypoint x="772.0" y="343.0"></omgdi:waypoint>        <omgdi:waypoint x="772.0" y="315.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="36.0" x="835.0" y="348.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">        <omgdi:waypoint x="1080.0" y="288.0"></omgdi:waypoint>        <omgdi:waypoint x="1100.0" y="290.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="24.0" x="1079.0" y="296.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">        <omgdi:waypoint x="1205.0" y="290.0"></omgdi:waypoint>        <omgdi:waypoint x="1220.0" y="291.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">        <omgdi:waypoint x="1240.0" y="271.0"></omgdi:waypoint>        <omgdi:waypoint x="1239.0" y="221.0"></omgdi:waypoint>        <omgdi:waypoint x="961.0" y="221.0"></omgdi:waypoint>        <omgdi:waypoint x="962.0" y="261.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="36.0" x="1031.0" y="195.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">        <omgdi:waypoint x="1260.0" y="291.0"></omgdi:waypoint>        <omgdi:waypoint x="1305.0" y="291.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="24.0" x="1259.0" y="298.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">        <omgdi:waypoint x="325.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="350.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">        <omgdi:waypoint x="370.0" y="307.0"></omgdi:waypoint>        <omgdi:waypoint x="370.0" y="349.0"></omgdi:waypoint>        <omgdi:waypoint x="142.0" y="349.0"></omgdi:waypoint>        <omgdi:waypoint x="142.0" y="315.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="36.0" x="196.0" y="349.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">        <omgdi:waypoint x="880.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="910.0" y="288.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="100.0" x="879.0" y="296.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">        <omgdi:waypoint x="699.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="720.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">        <omgdi:waypoint x="825.0" y="287.0"></omgdi:waypoint>        <omgdi:waypoint x="840.0" y="287.0"></omgdi:waypoint>      </bpmndi:BPMNEdge>      <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">        <omgdi:waypoint x="860.0" y="267.0"></omgdi:waypoint>        <omgdi:waypoint x="859.0" y="222.0"></omgdi:waypoint>        <omgdi:waypoint x="645.0" y="222.0"></omgdi:waypoint>        <omgdi:waypoint x="646.0" y="260.0"></omgdi:waypoint>        <bpmndi:BPMNLabel>          <omgdc:Bounds height="14.0" width="100.0" x="710.0" y="195.0"></omgdc:Bounds>        </bpmndi:BPMNLabel>      </bpmndi:BPMNEdge>    </bpmndi:BPMNPlane>  </bpmndi:BPMNDiagram></definitions>
 |