<?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="SignConfirmation" name="签署确认管理流程" isExecutable="true">
    <startEvent id="startevent1" name="Start"></startEvent>
    <userTask id="sign_confirmation_add" name="签署确认" activiti:assignee="${sign_confirmation_add_assignee}" activiti:formKey="/sign/confirmation/add"></userTask>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="sign_confirmation_add"></sequenceFlow>
    <userTask id="legal_approval" name="法务审批" activiti:candidateUsers="${legal_approval_candidate}" activiti:formKey="/sign/confirmation/approval"></userTask>
    <sequenceFlow id="flow2" sourceRef="sign_confirmation_add" targetRef="legal_approval"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flow3" sourceRef="legal_approval" targetRef="endevent1"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_SignConfirmation">
    <bpmndi:BPMNPlane bpmnElement="SignConfirmation" id="BPMNPlane_SignConfirmation">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="110.0" y="220.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sign_confirmation_add" id="BPMNShape_sign_confirmation_add">
        <omgdc:Bounds height="55.0" width="105.0" x="190.0" y="210.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="legal_approval" id="BPMNShape_legal_approval">
        <omgdc:Bounds height="55.0" width="105.0" x="340.0" y="210.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="490.0" y="220.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="145.0" y="237.0"></omgdi:waypoint>
        <omgdi:waypoint x="190.0" y="237.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="295.0" y="237.0"></omgdi:waypoint>
        <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="445.0" y="237.0"></omgdi:waypoint>
        <omgdi:waypoint x="490.0" y="237.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>