<?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="FinancialCustomerExpenditure" name="资方客户支用信息审核流程" isExecutable="true">
    <startEvent id="startevent1" name="Start"></startEvent>
    <userTask id="financial_customer_expenditure_edit" name="支用资料提交" activiti:candidateUsers="${financial_customer_expenditure_edit_candidate}" activiti:formKey="/financialCustomerExpenditure/edit"></userTask>
    <userTask id="financial_customer_expenditure_approval" name="支用资料审核" activiti:assignee="${financial_customer_expenditure_approval_assignee}" activiti:formKey="/financialCustomerExpenditure/approval"></userTask>
    <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="financial_customer_expenditure_edit"></sequenceFlow>
    <sequenceFlow id="flow2" sourceRef="financial_customer_expenditure_edit" targetRef="financial_customer_expenditure_approval"></sequenceFlow>
    <sequenceFlow id="flow3" sourceRef="financial_customer_expenditure_approval" targetRef="exclusivegateway1"></sequenceFlow>
    <sequenceFlow id="flow4" name="通过" sourceRef="exclusivegateway1" targetRef="endevent1">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='通过'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow6" name="退回" sourceRef="exclusivegateway1" targetRef="financial_customer_expenditure_edit">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='驳回'}]]></conditionExpression>
    </sequenceFlow>
    <endEvent id="terminateendevent1" name="TerminateEndEvent">
      <terminateEventDefinition></terminateEventDefinition>
    </endEvent>
    <sequenceFlow id="flow7" name="否决" sourceRef="exclusivegateway1" targetRef="terminateendevent1">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='否决'}]]></conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_FinancialCustomerExpenditure">
    <bpmndi:BPMNPlane bpmnElement="FinancialCustomerExpenditure" id="BPMNPlane_FinancialCustomerExpenditure">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="230.0" y="280.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="financial_customer_expenditure_edit" id="BPMNShape_financial_customer_expenditure_edit">
        <omgdc:Bounds height="65.0" width="131.0" x="390.0" y="265.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="financial_customer_expenditure_approval" id="BPMNShape_financial_customer_expenditure_approval">
        <omgdc:Bounds height="64.0" width="131.0" x="620.0" y="266.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
        <omgdc:Bounds height="40.0" width="40.0" x="858.0" y="279.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="990.0" y="282.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="terminateendevent1" id="BPMNShape_terminateendevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="861.0" y="410.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="265.0" y="297.0"></omgdi:waypoint>
        <omgdi:waypoint x="390.0" y="297.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="521.0" y="297.0"></omgdi:waypoint>
        <omgdi:waypoint x="620.0" y="298.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="751.0" y="298.0"></omgdi:waypoint>
        <omgdi:waypoint x="858.0" y="299.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
        <omgdi:waypoint x="898.0" y="299.0"></omgdi:waypoint>
        <omgdi:waypoint x="990.0" y="299.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="16.0" width="100.0" x="919.0" y="305.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="878.0" y="279.0"></omgdi:waypoint>
        <omgdi:waypoint x="877.0" y="145.0"></omgdi:waypoint>
        <omgdi:waypoint x="455.0" y="145.0"></omgdi:waypoint>
        <omgdi:waypoint x="455.0" y="265.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="16.0" width="100.0" x="631.0" y="151.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
        <omgdi:waypoint x="878.0" y="319.0"></omgdi:waypoint>
        <omgdi:waypoint x="878.0" y="410.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="16.0" width="100.0" x="891.0" y="359.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>