<?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="CreditResolution" name="授信决议流程" isExecutable="true">
    <startEvent id="startevent1" name="Start"></startEvent>
    <userTask id="credit_resolution_add" name="授信决议" activiti:assignee="${credit_resolution_add_assignee}"></userTask>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="credit_resolution_add"></sequenceFlow>
    <userTask id="credit_resolution_approval" name="授信决议确认" activiti:assignee="${credit_resolution_approval_assignee}"></userTask>
    <sequenceFlow id="flow2" sourceRef="credit_resolution_add" targetRef="credit_resolution_approval"></sequenceFlow>
    <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
    <sequenceFlow id="flow3" sourceRef="credit_resolution_approval" targetRef="exclusivegateway1"></sequenceFlow>
    <sequenceFlow id="flow4" name="退回" sourceRef="exclusivegateway1" targetRef="credit_resolution_add">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='退回'}]]></conditionExpression>
    </sequenceFlow>
    <userTask id="reconsider_adjust_add" name="复议调整申请" activiti:assignee="${reconsider_adjust_add_assignee}"></userTask>
    <sequenceFlow id="flow5" name="通过" sourceRef="exclusivegateway1" targetRef="reconsider_adjust_add">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='通过'}]]></conditionExpression>
    </sequenceFlow>
    <userTask id="reconsider_adjust_approval" name="复议调整审批" activiti:assignee="${reconsider_adjust_approval_assignee}"></userTask>
    <sequenceFlow id="flow6" sourceRef="reconsider_adjust_add" targetRef="reconsider_adjust_approval"></sequenceFlow>
    <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
    <sequenceFlow id="flow7" sourceRef="reconsider_adjust_approval" targetRef="exclusivegateway2"></sequenceFlow>
    <sequenceFlow id="flow8" name="退回" sourceRef="exclusivegateway2" targetRef="reconsider_adjust_add">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='退回'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow9" name="通过" sourceRef="exclusivegateway2" targetRef="credit_resolution_add">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result=='通过'}]]></conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_CreditResolution">
    <bpmndi:BPMNPlane bpmnElement="CreditResolution" id="BPMNPlane_CreditResolution">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="220.0" y="260.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="credit_resolution_add" id="BPMNShape_credit_resolution_add">
        <omgdc:Bounds height="55.0" width="105.0" x="300.0" y="250.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="credit_resolution_approval" id="BPMNShape_credit_resolution_approval">
        <omgdc:Bounds height="55.0" width="105.0" x="450.0" y="250.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
        <omgdc:Bounds height="40.0" width="40.0" x="600.0" y="258.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="reconsider_adjust_add" id="BPMNShape_reconsider_adjust_add">
        <omgdc:Bounds height="55.0" width="105.0" x="685.0" y="251.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="reconsider_adjust_approval" id="BPMNShape_reconsider_adjust_approval">
        <omgdc:Bounds height="55.0" width="105.0" x="835.0" y="251.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
        <omgdc:Bounds height="40.0" width="40.0" x="985.0" y="259.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="255.0" y="277.0"></omgdi:waypoint>
        <omgdi:waypoint x="300.0" y="277.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="405.0" y="277.0"></omgdi:waypoint>
        <omgdi:waypoint x="450.0" y="277.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="555.0" y="277.0"></omgdi:waypoint>
        <omgdi:waypoint x="600.0" y="278.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
        <omgdi:waypoint x="620.0" y="258.0"></omgdi:waypoint>
        <omgdi:waypoint x="619.0" y="169.0"></omgdi:waypoint>
        <omgdi:waypoint x="352.0" y="169.0"></omgdi:waypoint>
        <omgdi:waypoint x="352.0" y="250.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="14.0" width="24.0" x="471.0" y="151.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
        <omgdi:waypoint x="640.0" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="685.0" y="278.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="14.0" width="24.0" x="649.0" y="260.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="790.0" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="835.0" y="278.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
        <omgdi:waypoint x="940.0" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="985.0" y="279.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
        <omgdi:waypoint x="1005.0" y="259.0"></omgdi:waypoint>
        <omgdi:waypoint x="1005.0" y="172.0"></omgdi:waypoint>
        <omgdi:waypoint x="737.0" y="172.0"></omgdi:waypoint>
        <omgdi:waypoint x="737.0" y="251.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="14.0" width="24.0" x="870.0" y="151.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
        <omgdi:waypoint x="1005.0" y="299.0"></omgdi:waypoint>
        <omgdi:waypoint x="1004.0" y="405.0"></omgdi:waypoint>
        <omgdi:waypoint x="352.0" y="405.0"></omgdi:waypoint>
        <omgdi:waypoint x="352.0" y="305.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="14.0" width="24.0" x="611.0" y="409.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>