<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:pm="http://processmaker.com/BPMN/2.0/Schema.xsd" xmlns:tns="http://sourceforge.net/bpmn/definitions/_1530553328908" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bpmn.io/schema/bpmn" exporter="ProcessMaker Modeler" exporterVersion="1.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://bpmn.sourceforge.net/schemas/BPMN20.xsd">
  <bpmn:process id="ProcessId" name="ProcessName" isExecutable="true">
    <bpmn:startEvent id="node_1" name="Start Event" pm:allowInterstitial="true" pm:interstitialScreenRef="616">
      <bpmn:outgoing>node_10</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:task id="node_5" name="Docusign Authorization" pm:screenRef="614" pm:allowInterstitial="true" pm:interstitialScreenRef="616" pm:assignment="requester" pm:assignmentLock="false" pm:allowReassignment="false">
      <bpmn:incoming>node_11</bpmn:incoming>
      <bpmn:outgoing>node_4</bpmn:outgoing>
    </bpmn:task>
    <bpmn:scriptTask id="node_9" name="Authorization" pm:scriptRef="113">
      <bpmn:incoming>node_10</bpmn:incoming>
      <bpmn:outgoing>node_11</bpmn:outgoing>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="node_10" name="" sourceRef="node_1" targetRef="node_9"/>
    <bpmn:sequenceFlow id="node_11" name="" sourceRef="node_9" targetRef="node_5"/>
    <bpmn:endEvent id="node_12" name="End Event" pm:screenRef="615">
      <bpmn:incoming>node_13</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:scriptTask id="node_3" name="Get Tokens" pm:scriptRef="114">
      <bpmn:incoming>node_4</bpmn:incoming>
      <bpmn:outgoing>node_7</bpmn:outgoing>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="node_4" name="" sourceRef="node_5" targetRef="node_3"/>
    <bpmn:exclusiveGateway id="node_2" name="store in env" default="node_8">
      <bpmn:incoming>node_7</bpmn:incoming>
      <bpmn:outgoing>node_13</bpmn:outgoing>
      <bpmn:outgoing>node_8</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="node_7" name="" sourceRef="node_3" targetRef="node_2"/>
    <bpmn:sequenceFlow id="node_13" name="store in request" sourceRef="node_2" targetRef="node_12" pm:config="{&quot;update_data&quot;:{&quot;variable&quot;:&quot;&quot;,&quot;expression&quot;:&quot;&quot;}}">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">empty('storeInEnv')</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:endEvent id="node_14" name="store tokens" pm:screenRef="615">
      <bpmn:incoming>node_8</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="node_8" name="" sourceRef="node_2" targetRef="node_14" pm:config="{&quot;update_data&quot;:{&quot;variable&quot;:&quot;saved&quot;,&quot;expression&quot;:&quot;docuSignStore(docusign)&quot;}}">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"/>
    </bpmn:sequenceFlow>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagramId">
    <bpmndi:BPMNPlane id="BPMNPlaneId" bpmnElement="ProcessId">
      <bpmndi:BPMNShape id="node_1_di" bpmnElement="node_1">
        <dc:Bounds x="170" y="220" width="36" height="36"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="node_5_di" bpmnElement="node_5">
        <dc:Bounds x="470" y="200" width="116" height="76"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="node_9_di" bpmnElement="node_9">
        <dc:Bounds x="290" y="200" width="116" height="76"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="node_10_di" bpmnElement="node_10">
        <di:waypoint x="188" y="238"/>
        <di:waypoint x="348" y="238"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="node_11_di" bpmnElement="node_11">
        <di:waypoint x="348" y="238"/>
        <di:waypoint x="528" y="238"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="node_12_di" bpmnElement="node_12">
        <dc:Bounds x="1030" y="220" width="36" height="36"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="node_3_di" bpmnElement="node_3">
        <dc:Bounds x="650" y="200" width="116" height="76"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="node_4_di" bpmnElement="node_4">
        <di:waypoint x="528" y="238"/>
        <di:waypoint x="708" y="238"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="node_2_di" bpmnElement="node_2">
        <dc:Bounds x="860" y="220" width="36" height="36"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="node_7_di" bpmnElement="node_7">
        <di:waypoint x="708" y="238"/>
        <di:waypoint x="878" y="238"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="node_13_di" bpmnElement="node_13">
        <di:waypoint x="878" y="238"/>
        <di:waypoint x="1048" y="238"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="node_14_di" bpmnElement="node_14">
        <dc:Bounds x="860" y="380" width="36" height="36"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="node_8_di" bpmnElement="node_8">
        <di:waypoint x="878" y="238"/>
        <di:waypoint x="878" y="398"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
