<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             xmlns:flowable="http://flowable.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.flowable.org/processdef">
 
  <process id="userWorkflow" name="User Workflow" isExecutable="true">
    <startEvent id="theStart"/>
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="create"/>
    <serviceTask id="create" name="Create" flowable:delegateExpression="${create}"/>
    <sequenceFlow id="flow2" sourceRef="create" targetRef="createGW"/>
    <exclusiveGateway id="createGW" default="create2Activate"/>
    <userTask id="createApproval" name="Create approval" flowable:candidateGroups="managingDirector" flowable:formKey="createApproval">
      <extensionElements>
        <flowable:formProperty id="username" name="Username" type="string" expression="${userTO.username}" writable="false"/>
        <flowable:formProperty id="approveCreate" name="Approve?" type="boolean" variable="approveCreate" required="true"/>
        <flowable:formProperty id="rejectReason" name="Reason for rejecting" type="string" variable="rejectReason"/>
      </extensionElements>
    </userTask>
    <scriptTask id="CreateApprovalEvaluation" name="Create approval evaluation" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
try {
  if (approveCreate){
    execution.setVariable("task", 'approve');
  } else {
    execution.setVariable("task", 'reject');
  }
} catch(Exception ae) {
  try {
    if (task != 'delete') {
      execution.setVariable("task", null);
    }
  } catch(Exception te) {
    execution.setVariable("task", null);
  }
} finally {
  execution.removeVariable("approveCreate");
  execution.removeVariable("rejectReason");
}]]></script>
    </scriptTask>
    <exclusiveGateway id="createApprovalGW" default="sid-76B82B68-099D-4729-B8CF-D028386FE900"/>
    <exclusiveGateway id="enableGW"/>
    <sequenceFlow id="enableGW2GenerateToken" sourceRef="enableGW" targetRef="generateToken">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${flowableUtils.isUserIngroup(userTO, 'groupForWorkflowOptIn')}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="enableGW2Activate" sourceRef="enableGW" targetRef="activate">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${enabled == null}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="enableGW2Active" sourceRef="enableGW" targetRef="active">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${enabled}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="enableGW2Suspended" sourceRef="enableGW" targetRef="suspend">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!enabled}]]></conditionExpression>
    </sequenceFlow>
    <serviceTask id="activate" name="Activate" flowable:delegateExpression="${autoActivate}"/>
    <sequenceFlow id="flow4" sourceRef="activate" targetRef="active"/>
    <serviceTask id="generateToken" name="Generate token" flowable:delegateExpression="${generateToken}"/>
    <sequenceFlow id="flow5" sourceRef="generateToken" targetRef="created"/>
    <userTask id="created" name="Created"/>
    <sequenceFlow id="flow6" sourceRef="created" targetRef="optinGW"/>
    <exclusiveGateway id="optinGW"/>
    <sequenceFlow id="created2Activate" sourceRef="optinGW" targetRef="removeToken">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${user.checkToken(token)}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="created2Created" sourceRef="optinGW" targetRef="created">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!user.checkToken(token)}]]></conditionExpression>
    </sequenceFlow>
    <scriptTask id="removeToken" name="Remove Token and Activate" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
        user.removeToken()
      ]]></script>
    </scriptTask>
    <sequenceFlow id="flow7" sourceRef="removeToken" targetRef="active"/>
    <userTask id="active" name="Active"/>
    <sequenceFlow id="flow8" sourceRef="active" targetRef="activeGw"/>
    <exclusiveGateway id="activeGw"/>
    <sequenceFlow id="active2UpdateApproval" sourceRef="activeGw" targetRef="updateApproval">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${wfExecutor == user.getUsername() and task == 'update' 
        and (!userUR.getMemberships().isEmpty())}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2DeleteApproval" sourceRef="activeGw" targetRef="deleteApproval">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${wfExecutor == user.getUsername() and task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2Update" sourceRef="activeGw" targetRef="update">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'update'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2Suspend" sourceRef="activeGw" targetRef="suspend">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'suspend'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2Delete" sourceRef="activeGw" targetRef="delete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2RequestPasswordReset" sourceRef="activeGw" targetRef="generateToken4PasswordReset">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'requestPasswordReset'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="active2ConfirmPasswordReset" sourceRef="activeGw" targetRef="checkToken4ConfirmPasswordReset">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'confirmPasswordReset'}]]></conditionExpression>
    </sequenceFlow>
    <userTask id="updateApproval" name="Update approval" flowable:candidateGroups="managingDirector" flowable:formKey="updateApproval">
      <extensionElements>
        <flowable:formProperty id="username" name="Username" type="string" expression="${userTO.username}" writable="false"/>
        <flowable:formProperty id="approveUpdate" name="Approve?" type="boolean" variable="approveUpdate" required="true"/>
        <flowable:formProperty id="rejectReason" name="Reason for rejecting" type="string" variable="rejectReason"/>
      </extensionElements>
    </userTask>
    <scriptTask id="UpdateApprovalEvaluation" name="Update approval evaluation" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
try {
  if (approveUpdate){
    execution.setVariable("task", 'approve');
  } else {
    execution.setVariable("task", 'reject');
  }
} catch(Exception ae) {
  try {
    if (task != 'delete') {
      execution.setVariable("task", null);
    }
  } catch(Exception te) {
    execution.setVariable("task", null);
  }
} finally {
  execution.removeVariable("approveUpdate");
  execution.removeVariable("rejectReason");
}]]></script>
    </scriptTask>
    <exclusiveGateway id="updateApprovalGW" default="sid-E58BBC2D-8831-4CF2-A798-14B258FE569B"/>
    <sequenceFlow id="sid-E58BBC2D-8831-4CF2-A798-14B258FE569B" sourceRef="updateApprovalGW" targetRef="updateApproval"/>
    <sequenceFlow id="updateApprovalGW2Update" sourceRef="updateApprovalGW" targetRef="update">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'approve'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="updateApprovalGW2Reject" sourceRef="updateApprovalGW" targetRef="rejectUpdate">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'reject'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-B5FFEBCA-1FBF-457F-BC55-39FD387188B2" sourceRef="updateApprovalGW" targetRef="delete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <scriptTask id="rejectUpdate" name="Reject update" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
        execution.setVariable("propByResource", null);
      ]]></script>
    </scriptTask>
    <sequenceFlow id="flow8ter" sourceRef="rejectUpdate" targetRef="active"/>
    <serviceTask id="update" name="Update" flowable:delegateExpression="${update}"/>
    <sequenceFlow id="flow9" sourceRef="update" targetRef="active"/>
    <serviceTask id="suspend" name="Suspend" flowable:delegateExpression="${suspend}"/>
    <sequenceFlow id="flow10" sourceRef="suspend" targetRef="suspended"/>
    <userTask id="suspended" name="Suspended"/>
    <sequenceFlow id="flow11" sourceRef="suspended" targetRef="suspendedGw"/>
    <exclusiveGateway id="suspendedGw" default="sid-26ACDEC4-8BE2-4E70-BB63-36B6375B7EEC"/>
    <sequenceFlow id="suspended2Reactivate" sourceRef="suspendedGw" targetRef="reactivate">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'reactivate'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="suspended2Delete" sourceRef="suspendedGw" targetRef="delete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <serviceTask id="reactivate" name="Reactivate" flowable:delegateExpression="${reactivate}"/>
    <sequenceFlow id="flow12" sourceRef="reactivate" targetRef="active"/>
    <scriptTask id="reject" name="Reject" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
        execution.removeVariable("userTO");
        execution.removeVariable("encryptedPwd");
        execution.removeVariable("propByResource");
      ]]></script>
    </scriptTask>
    <userTask id="rejected" name="Rejected"/>
    <sequenceFlow id="flow14" sourceRef="rejected" targetRef="rejectedGw"/>
    <exclusiveGateway id="rejectedGw"/>
    <sequenceFlow id="rejected2Delete" sourceRef="rejectedGw" targetRef="delete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="rejected2Rejected" sourceRef="rejectedGw" targetRef="rejected">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${empty task}]]></conditionExpression>
    </sequenceFlow>
    <userTask id="deleteApproval" name="Delete approval" flowable:candidateGroups="managingDirector" flowable:formKey="deleteApproval">
      <extensionElements>
        <flowable:formProperty id="username" name="Username" type="string" expression="${userTO.username}" writable="false"/>
        <flowable:formProperty id="approveDelete" name="Approve?" type="boolean" variable="approveDelete" required="true"/>
        <flowable:formProperty id="rejectReason" name="Reason for rejecting" type="string" variable="rejectReason"/>
      </extensionElements>
    </userTask>
    <sequenceFlow id="flow14bis" sourceRef="deleteApproval" targetRef="deleteApprovalGW"/>
    <exclusiveGateway id="deleteApprovalGW"/>
    <sequenceFlow id="deleteApprovalGW2Delete" sourceRef="deleteApprovalGW" targetRef="delete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="deleteApprovalGW2Reject" sourceRef="deleteApprovalGW" targetRef="rejectDelete">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!approve}]]></conditionExpression>
    </sequenceFlow>
    <scriptTask id="rejectDelete" name="Reject delete" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[
        execution.setVariable("propByResource", null);
      ]]></script>
    </scriptTask>
    <sequenceFlow id="flow14ter" sourceRef="rejectDelete" targetRef="active"/>
    <serviceTask id="generateToken4PasswordReset" name="Generate token" flowable:delegateExpression="${generateToken}"/>
    <sequenceFlow id="flow15" sourceRef="generateToken4PasswordReset" targetRef="notify4RequestPasswordReset"/>
    <serviceTask id="notify4RequestPasswordReset" name="Notification" flowable:delegateExpression="${notify}"/>
    <sequenceFlow id="flow16" sourceRef="notify4RequestPasswordReset" targetRef="active"/>
    <serviceTask id="checkToken4ConfirmPasswordReset" name="Check token, remove and update password" flowable:delegateExpression="${passwordReset}"/>
    <sequenceFlow id="flow17" sourceRef="checkToken4ConfirmPasswordReset" targetRef="notify4ConfirmPasswordReset"/>
    <serviceTask id="notify4ConfirmPasswordReset" name="Notification" flowable:delegateExpression="${notify}"/>
    <sequenceFlow id="flow18" sourceRef="notify4ConfirmPasswordReset" targetRef="active"/>
    <serviceTask id="delete" name="Delete" flowable:delegateExpression="${delete}"/>
    <sequenceFlow id="flow99" sourceRef="delete" targetRef="theEnd"/>
    <endEvent id="theEnd"/>
    <serviceTask id="updateWhilePendingCreateApproval" name="Update" flowable:delegateExpression="${update}"/>
    <sequenceFlow id="sid-76B82B68-099D-4729-B8CF-D028386FE900" sourceRef="createApprovalGW" targetRef="createApproval"/>
    <sequenceFlow id="sid-B2EEC511-2924-4A95-B0B8-E35DA268DD58" sourceRef="createApprovalGW" targetRef="rejectedGw">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'delete'}]]></conditionExpression>
    </sequenceFlow>
    <exclusiveGateway id="sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7" default="flow3"/>
    <sequenceFlow id="flow13" sourceRef="reject" targetRef="rejected"/>
    <sequenceFlow id="createApprovalGW2EnableGW" sourceRef="createApprovalGW" targetRef="enableGW">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'approve'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="createApproval2Reject" sourceRef="createApprovalGW" targetRef="reject">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'reject'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="create2Activate" sourceRef="createGW" targetRef="enableGW"/>
    <sequenceFlow id="flow3" sourceRef="sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7" targetRef="CreateApprovalEvaluation"/>
    <sequenceFlow id="sid-56E7041A-748A-4C71-ABF3-7DCA0BEC8991" sourceRef="CreateApprovalEvaluation" targetRef="createApprovalGW"/>
    <sequenceFlow id="createAsAnonymous2Approval" sourceRef="createGW" targetRef="createApproval">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${wfExecutor == 'anonymous' || flowableUtils.isUserIngroup(userTO, 'groupForWorkflowApproval')}]]></conditionExpression>
    </sequenceFlow>
    <serviceTask id="updateWhilePendingUpdateApproval" name="Update" flowable:delegateExpression="${update}"/>
    <exclusiveGateway id="sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07" default="sid-12E29B94-C369-45C1-BCEF-C165AFDA525A"/>
    <sequenceFlow id="sid-930DADF1-C361-43DD-A240-582F21DEB9B6" sourceRef="createApproval" targetRef="sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7"/>
    <sequenceFlow id="sid-A2BDF803-688C-4A4D-9D33-6D859C029245" sourceRef="updateApproval" targetRef="sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07"/>
    <sequenceFlow id="sid-66CDB1C4-7C2F-4BAE-9834-84CF0CF52BF3" sourceRef="sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07" targetRef="updateWhilePendingUpdateApproval">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'update'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-C9FA59AF-4F39-489E-B424-5C06B15AE317" sourceRef="sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7" targetRef="updateWhilePendingCreateApproval">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${task == 'update'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-F746E78F-F59B-4842-9D88-C9C79474FC06" sourceRef="updateWhilePendingCreateApproval" targetRef="createApproval"/>
    <sequenceFlow id="sid-1D0DA593-85D7-412B-8DA3-79DC0CE00E1D" sourceRef="updateWhilePendingUpdateApproval" targetRef="updateApproval"/>
    <sequenceFlow id="sid-12E29B94-C369-45C1-BCEF-C165AFDA525A" sourceRef="sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07" targetRef="UpdateApprovalEvaluation"/>
    <sequenceFlow id="sid-53FA7F29-CE60-4AE6-921D-AF7331CDB19F" sourceRef="UpdateApprovalEvaluation" targetRef="updateApprovalGW"/>
    <sequenceFlow id="sid-26ACDEC4-8BE2-4E70-BB63-36B6375B7EEC" sourceRef="suspendedGw" targetRef="suspended"/>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_userWorkflow">
    <bpmndi:BPMNPlane bpmnElement="userWorkflow" id="BPMNPlane_userWorkflow">
      <bpmndi:BPMNShape bpmnElement="theStart" id="BPMNShape_theStart">
        <omgdc:Bounds height="30.0" width="30.0" x="333.0" y="252.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="create" id="BPMNShape_create">
        <omgdc:Bounds height="60.0" width="100.0" x="300.0" y="323.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="createGW" id="BPMNShape_createGW">
        <omgdc:Bounds height="40.0" width="40.0" x="330.0" y="507.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="createApproval" id="BPMNShape_createApproval">
        <omgdc:Bounds height="60.0" width="100.0" x="420.0" y="560.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="CreateApprovalEvaluation" id="BPMNShape_CreateApprovalEvaluation">
        <omgdc:Bounds height="80.0" width="100.0" x="477.5" y="765.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="createApprovalGW" id="BPMNShape_createApprovalGW">
        <omgdc:Bounds height="40.0" width="40.0" x="570.0" y="570.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="enableGW" id="BPMNShape_enableGW">
        <omgdc:Bounds height="40.0" width="40.0" x="690.0" y="429.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="activate" id="BPMNShape_activate">
        <omgdc:Bounds height="60.0" width="100.0" x="810.0" y="610.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="generateToken" id="BPMNShape_generateToken">
        <omgdc:Bounds height="60.0" width="100.0" x="810.0" y="213.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="created" id="BPMNShape_created">
        <omgdc:Bounds height="60.0" width="100.0" x="952.0" y="213.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="optinGW" id="BPMNShape_optinGW">
        <omgdc:Bounds height="40.0" width="40.0" x="1102.0" y="223.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="removeToken" id="BPMNShape_removeToken">
        <omgdc:Bounds height="60.0" width="100.0" x="1180.0" y="213.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="active" id="BPMNShape_active">
        <omgdc:Bounds height="60.0" width="100.0" x="1130.0" y="511.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="activeGw" id="BPMNShape_activeGw">
        <omgdc:Bounds height="40.0" width="40.0" x="1500.0" y="520.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="updateApproval" id="BPMNShape_updateApproval">
        <omgdc:Bounds height="60.0" width="100.0" x="1605.0" y="740.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="UpdateApprovalEvaluation" id="BPMNShape_UpdateApprovalEvaluation">
        <omgdc:Bounds height="80.0" width="100.0" x="1740.0" y="855.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="updateApprovalGW" id="BPMNShape_updateApprovalGW">
        <omgdc:Bounds height="40.0" width="40.0" x="1770.0" y="750.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="rejectUpdate" id="BPMNShape_rejectUpdate">
        <omgdc:Bounds height="60.0" width="100.0" x="1890.0" y="840.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="update" id="BPMNShape_update">
        <omgdc:Bounds height="60.0" width="100.0" x="1890.0" y="700.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="suspend" id="BPMNShape_suspend">
        <omgdc:Bounds height="60.0" width="100.0" x="1590.0" y="100.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="suspended" id="BPMNShape_suspended">
        <omgdc:Bounds height="60.0" width="100.0" x="1740.0" y="120.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="suspendedGw" id="BPMNShape_suspendedGw">
        <omgdc:Bounds height="40.0" width="40.0" x="1920.0" y="180.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="reactivate" id="BPMNShape_reactivate">
        <omgdc:Bounds height="60.0" width="100.0" x="2040.0" y="110.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="reject" id="BPMNShape_reject">
        <omgdc:Bounds height="60.0" width="100.0" x="660.0" y="659.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="rejected" id="BPMNShape_rejected">
        <omgdc:Bounds height="60.0" width="100.0" x="810.0" y="770.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="rejectedGw" id="BPMNShape_rejectedGw">
        <omgdc:Bounds height="40.0" width="40.0" x="990.0" y="780.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="deleteApproval" id="BPMNShape_deleteApproval">
        <omgdc:Bounds height="60.0" width="100.0" x="1590.0" y="280.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="deleteApprovalGW" id="BPMNShape_deleteApprovalGW">
        <omgdc:Bounds height="40.0" width="40.0" x="1770.0" y="300.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="rejectDelete" id="BPMNShape_rejectDelete">
        <omgdc:Bounds height="60.0" width="100.0" x="1890.0" y="240.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="generateToken4PasswordReset" id="BPMNShape_generateToken4PasswordReset">
        <omgdc:Bounds height="59.0" width="100.0" x="1643.0" y="452.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="notify4RequestPasswordReset" id="BPMNShape_notify4RequestPasswordReset">
        <omgdc:Bounds height="60.0" width="100.0" x="1848.0" y="452.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="checkToken4ConfirmPasswordReset" id="BPMNShape_checkToken4ConfirmPasswordReset">
        <omgdc:Bounds height="60.0" width="100.0" x="1643.0" y="561.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="notify4ConfirmPasswordReset" id="BPMNShape_notify4ConfirmPasswordReset">
        <omgdc:Bounds height="60.0" width="100.0" x="1848.0" y="561.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="delete" id="BPMNShape_delete">
        <omgdc:Bounds height="60.0" width="100.0" x="2220.0" y="358.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="theEnd" id="BPMNShape_theEnd">
        <omgdc:Bounds height="28.0" width="28.0" x="2358.0" y="374.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="updateWhilePendingCreateApproval" id="BPMNShape_updateWhilePendingCreateApproval">
        <omgdc:Bounds height="60.0" width="100.0" x="362.5" y="770.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7" id="BPMNShape_sid-8CFA3152-19AA-4878-AD2C-96B63F6E98C7">
        <omgdc:Bounds height="40.0" width="40.0" x="450.0" y="660.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="updateWhilePendingUpdateApproval" id="BPMNShape_updateWhilePendingUpdateApproval">
        <omgdc:Bounds height="60.0" width="100.0" x="1455.0" y="865.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07" id="BPMNShape_sid-4C9C9117-26DB-4326-A12B-EEDA42EADF07">
        <omgdc:Bounds height="40.0" width="40.0" x="1635.0" y="875.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="enableGW2GenerateToken" id="BPMNEdge_enableGW2GenerateToken">
        <omgdi:waypoint x="729.9433544302707" y="449.0"/>
        <omgdi:waypoint x="860.0" y="449.0"/>
        <omgdi:waypoint x="860.0" y="272.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2Update" id="BPMNEdge_active2Update">
        <omgdi:waypoint x="1539.9223684210267" y="540.0"/>
        <omgdi:waypoint x="1556.0" y="540.0"/>
        <omgdi:waypoint x="1556.0" y="730.0"/>
        <omgdi:waypoint x="1889.999999999701" y="730.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1D0DA593-85D7-412B-8DA3-79DC0CE00E1D" id="BPMNEdge_sid-1D0DA593-85D7-412B-8DA3-79DC0CE00E1D">
        <omgdi:waypoint x="1540.94" y="865.0"/>
        <omgdi:waypoint x="1619.0" y="799.9499999999999"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2ConfirmPasswordReset" id="BPMNEdge_active2ConfirmPasswordReset">
        <omgdi:waypoint x="1539.9442374350085" y="540.0"/>
        <omgdi:waypoint x="1693.0" y="540.0"/>
        <omgdi:waypoint x="1693.0" y="561.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-76B82B68-099D-4729-B8CF-D028386FE900" id="BPMNEdge_sid-76B82B68-099D-4729-B8CF-D028386FE900">
        <omgdi:waypoint x="570.0" y="590.0"/>
        <omgdi:waypoint x="519.9499999997392" y="590.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-930DADF1-C361-43DD-A240-582F21DEB9B6" id="BPMNEdge_sid-930DADF1-C361-43DD-A240-582F21DEB9B6">
        <omgdi:waypoint x="470.0" y="619.9499999999999"/>
        <omgdi:waypoint x="470.0" y="660.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="rejected2Rejected" id="BPMNEdge_rejected2Rejected">
        <omgdi:waypoint x="990.0" y="800.0"/>
        <omgdi:waypoint x="909.9499999999135" y="800.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-56E7041A-748A-4C71-ABF3-7DCA0BEC8991" id="BPMNEdge_sid-56E7041A-748A-4C71-ABF3-7DCA0BEC8991">
        <omgdi:waypoint x="577.4499999999488" y="805.0"/>
        <omgdi:waypoint x="590.0" y="805.0"/>
        <omgdi:waypoint x="590.0" y="609.9046184271755"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2Delete" id="BPMNEdge_active2Delete">
        <omgdi:waypoint x="1539.9189252336448" y="540.0"/>
        <omgdi:waypoint x="1552.0" y="540.0"/>
        <omgdi:waypoint x="1552.0" y="680.0"/>
        <omgdi:waypoint x="2174.0" y="680.0"/>
        <omgdi:waypoint x="2260.1369863013697" y="417.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="348.3475822648328" y="281.94584310464063"/>
        <omgdi:waypoint x="349.30232558139534" y="323.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="350.0" y="382.95"/>
        <omgdi:waypoint x="350.0" y="507.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="489.93253064798597" y="680.0"/>
        <omgdi:waypoint x="527.0" y="680.0"/>
        <omgdi:waypoint x="527.34" y="765.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
        <omgdi:waypoint x="909.9499999998994" y="640.0"/>
        <omgdi:waypoint x="922.0" y="640.0"/>
        <omgdi:waypoint x="1059.0" y="640.0"/>
        <omgdi:waypoint x="1143.3333333333333" y="570.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="updateApprovalGW2Update" id="BPMNEdge_updateApprovalGW2Update">
        <omgdi:waypoint x="1809.9339371980675" y="770.0"/>
        <omgdi:waypoint x="1852.0" y="770.0"/>
        <omgdi:waypoint x="1852.0" y="730.0"/>
        <omgdi:waypoint x="1890.0" y="730.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
        <omgdi:waypoint x="909.9499999999393" y="243.0"/>
        <omgdi:waypoint x="952.0" y="243.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="1002.0" y="272.95"/>
        <omgdi:waypoint x="1002.0" y="310.0"/>
        <omgdi:waypoint x="1122.0" y="310.0"/>
        <omgdi:waypoint x="1122.0" y="262.9148355754858"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
        <omgdi:waypoint x="1224.96644295302" y="272.95"/>
        <omgdi:waypoint x="1185.025167785235" y="511.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-66CDB1C4-7C2F-4BAE-9834-84CF0CF52BF3" id="BPMNEdge_sid-66CDB1C4-7C2F-4BAE-9834-84CF0CF52BF3">
        <omgdi:waypoint x="1635.0" y="895.0"/>
        <omgdi:waypoint x="1554.95" y="895.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
        <omgdi:waypoint x="1229.9499999999914" y="540.8529411764707"/>
        <omgdi:waypoint x="1500.0586510263724" y="540.058504398827"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2Suspend" id="BPMNEdge_active2Suspend">
        <omgdi:waypoint x="1539.9189252336448" y="540.0"/>
        <omgdi:waypoint x="1552.0" y="540.0"/>
        <omgdi:waypoint x="1552.0" y="130.0"/>
        <omgdi:waypoint x="1589.9999999999768" y="130.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
        <omgdi:waypoint x="1989.95" y="730.0"/>
        <omgdi:waypoint x="2037.0" y="730.0"/>
        <omgdi:waypoint x="2037.0" y="971.0"/>
        <omgdi:waypoint x="1334.0" y="971.0"/>
        <omgdi:waypoint x="1180.0" y="844.0"/>
        <omgdi:waypoint x="1180.0" y="570.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2UpdateApproval" id="BPMNEdge_active2UpdateApproval">
        <omgdi:waypoint x="1539.9207478005092" y="540.0"/>
        <omgdi:waypoint x="1554.0" y="540.0"/>
        <omgdi:waypoint x="1554.0" y="770.0"/>
        <omgdi:waypoint x="1605.0" y="770.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-B5FFEBCA-1FBF-457F-BC55-39FD387188B2" id="BPMNEdge_sid-B5FFEBCA-1FBF-457F-BC55-39FD387188B2">
        <omgdi:waypoint x="1790.0" y="789.9304794520548"/>
        <omgdi:waypoint x="1790.0" y="821.0"/>
        <omgdi:waypoint x="2270.0" y="821.0"/>
        <omgdi:waypoint x="2270.0" y="417.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="deleteApprovalGW2Delete" id="BPMNEdge_deleteApprovalGW2Delete">
        <omgdi:waypoint x="1809.9339371980677" y="320.0"/>
        <omgdi:waypoint x="1852.0" y="320.0"/>
        <omgdi:waypoint x="1852.0" y="388.0"/>
        <omgdi:waypoint x="2220.0" y="388.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="createAsAnonymous2Approval" id="BPMNEdge_createAsAnonymous2Approval">
        <omgdi:waypoint x="369.91892523364487" y="527.0"/>
        <omgdi:waypoint x="382.0" y="527.0"/>
        <omgdi:waypoint x="382.0" y="590.0"/>
        <omgdi:waypoint x="420.0" y="590.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="createApproval2Reject" id="BPMNEdge_createApproval2Reject">
        <omgdi:waypoint x="609.9189252336447" y="590.0"/>
        <omgdi:waypoint x="622.0" y="590.0"/>
        <omgdi:waypoint x="622.0" y="689.0"/>
        <omgdi:waypoint x="660.0" y="689.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-53FA7F29-CE60-4AE6-921D-AF7331CDB19F" id="BPMNEdge_sid-53FA7F29-CE60-4AE6-921D-AF7331CDB19F">
        <omgdi:waypoint x="1790.0" y="855.0"/>
        <omgdi:waypoint x="1790.0" y="789.9079463570856"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="rejected2Delete" id="BPMNEdge_rejected2Delete">
        <omgdi:waypoint x="1029.9339371980675" y="800.0"/>
        <omgdi:waypoint x="1072.0" y="800.0"/>
        <omgdi:waypoint x="1323.0" y="1000.0"/>
        <omgdi:waypoint x="2270.0" y="1000.0"/>
        <omgdi:waypoint x="2270.0" y="417.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F746E78F-F59B-4842-9D88-C9C79474FC06" id="BPMNEdge_sid-F746E78F-F59B-4842-9D88-C9C79474FC06">
        <omgdi:waypoint x="400.83333333333337" y="770.0"/>
        <omgdi:waypoint x="367.0" y="683.0"/>
        <omgdi:waypoint x="436.7741935483871" y="619.9499999999999"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="enableGW2Active" id="BPMNEdge_enableGW2Active">
        <omgdi:waypoint x="729.9433984115534" y="449.0"/>
        <omgdi:waypoint x="861.0" y="449.0"/>
        <omgdi:waypoint x="861.0" y="541.0"/>
        <omgdi:waypoint x="1130.0" y="541.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow14ter" id="BPMNEdge_flow14ter">
        <omgdi:waypoint x="1889.9999999999998" y="260.7451923076923"/>
        <omgdi:waypoint x="1524.0" y="193.0"/>
        <omgdi:waypoint x="1209.6057471264367" y="511.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-26ACDEC4-8BE2-4E70-BB63-36B6375B7EEC" id="BPMNEdge_sid-26ACDEC4-8BE2-4E70-BB63-36B6375B7EEC">
        <omgdi:waypoint x="1940.0" y="180.0"/>
        <omgdi:waypoint x="1940.0" y="135.0"/>
        <omgdi:waypoint x="1839.95" y="135.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="suspended2Delete" id="BPMNEdge_suspended2Delete">
        <omgdi:waypoint x="1959.9469781884277" y="200.0"/>
        <omgdi:waypoint x="2270.0" y="200.0"/>
        <omgdi:waypoint x="2270.0" y="358.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="deleteApprovalGW2Reject" id="BPMNEdge_deleteApprovalGW2Reject">
        <omgdi:waypoint x="1809.9339371980677" y="320.0"/>
        <omgdi:waypoint x="1852.0" y="320.0"/>
        <omgdi:waypoint x="1852.0" y="270.0"/>
        <omgdi:waypoint x="1889.9999999999768" y="270.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="createApprovalGW2EnableGW" id="BPMNEdge_createApprovalGW2EnableGW">
        <omgdi:waypoint x="609.9189252336447" y="590.0"/>
        <omgdi:waypoint x="622.0" y="590.0"/>
        <omgdi:waypoint x="622.0" y="449.0"/>
        <omgdi:waypoint x="690.0" y="449.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="created2Created" id="BPMNEdge_created2Created">
        <omgdi:waypoint x="1102.0" y="243.0"/>
        <omgdi:waypoint x="1051.95" y="243.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="suspended2Reactivate" id="BPMNEdge_suspended2Reactivate">
        <omgdi:waypoint x="1959.9339371980413" y="200.0"/>
        <omgdi:waypoint x="2002.0" y="200.0"/>
        <omgdi:waypoint x="2002.0" y="140.0"/>
        <omgdi:waypoint x="2039.999999999977" y="140.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2DeleteApproval" id="BPMNEdge_active2DeleteApproval">
        <omgdi:waypoint x="1539.9207478005092" y="540.0"/>
        <omgdi:waypoint x="1554.0" y="540.0"/>
        <omgdi:waypoint x="1554.0" y="310.0"/>
        <omgdi:waypoint x="1590.0" y="310.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
        <omgdi:waypoint x="1742.95" y="591.0"/>
        <omgdi:waypoint x="1848.0" y="591.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
        <omgdi:waypoint x="1847.9999999999998" y="619.3716000000001"/>
        <omgdi:waypoint x="1773.0" y="662.0"/>
        <omgdi:waypoint x="1229.9499999999998" y="551.1921585160202"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-A2BDF803-688C-4A4D-9D33-6D859C029245" id="BPMNEdge_sid-A2BDF803-688C-4A4D-9D33-6D859C029245">
        <omgdi:waypoint x="1655.0" y="799.9499999999999"/>
        <omgdi:waypoint x="1655.0" y="875.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
        <omgdi:waypoint x="759.9499999998994" y="689.0"/>
        <omgdi:waypoint x="772.0" y="689.0"/>
        <omgdi:waypoint x="772.0" y="800.0"/>
        <omgdi:waypoint x="810.0" y="800.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
        <omgdi:waypoint x="860.0" y="770.0"/>
        <omgdi:waypoint x="860.0" y="732.0"/>
        <omgdi:waypoint x="1010.0" y="732.0"/>
        <omgdi:waypoint x="1010.0" y="780.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
        <omgdi:waypoint x="1742.95" y="481.62182926829274"/>
        <omgdi:waypoint x="1847.9999999999989" y="481.8780487804878"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-B2EEC511-2924-4A95-B0B8-E35DA268DD58" id="BPMNEdge_sid-B2EEC511-2924-4A95-B0B8-E35DA268DD58">
        <omgdi:waypoint x="590.0" y="609.9462931995539"/>
        <omgdi:waypoint x="590.0" y="859.0"/>
        <omgdi:waypoint x="1010.0" y="859.0"/>
        <omgdi:waypoint x="1010.0" y="819.9168505942274"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="updateApprovalGW2Reject" id="BPMNEdge_updateApprovalGW2Reject">
        <omgdi:waypoint x="1809.9339371980675" y="770.0"/>
        <omgdi:waypoint x="1852.0" y="770.0"/>
        <omgdi:waypoint x="1852.0" y="870.0"/>
        <omgdi:waypoint x="1890.0" y="870.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
        <omgdi:waypoint x="1848.0" y="458.94174757281553"/>
        <omgdi:waypoint x="1692.0" y="387.0"/>
        <omgdi:waypoint x="1229.9499999999998" y="525.9609375"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-C9FA59AF-4F39-489E-B424-5C06B15AE317" id="BPMNEdge_sid-C9FA59AF-4F39-489E-B424-5C06B15AE317">
        <omgdi:waypoint x="450.0" y="680.0"/>
        <omgdi:waypoint x="412.0" y="680.0"/>
        <omgdi:waypoint x="412.375" y="770.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow14bis" id="BPMNEdge_flow14bis">
        <omgdi:waypoint x="1689.949999999984" y="310.0"/>
        <omgdi:waypoint x="1702.0" y="310.0"/>
        <omgdi:waypoint x="1702.0" y="320.0"/>
        <omgdi:waypoint x="1770.0" y="320.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="created2Activate" id="BPMNEdge_created2Activate">
        <omgdi:waypoint x="1141.9407724328892" y="243.0"/>
        <omgdi:waypoint x="1180.0" y="243.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-12E29B94-C369-45C1-BCEF-C165AFDA525A" id="BPMNEdge_sid-12E29B94-C369-45C1-BCEF-C165AFDA525A">
        <omgdi:waypoint x="1674.9426165798702" y="895.0"/>
        <omgdi:waypoint x="1739.9999999997615" y="895.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-E58BBC2D-8831-4CF2-A798-14B258FE569B" id="BPMNEdge_sid-E58BBC2D-8831-4CF2-A798-14B258FE569B">
        <omgdi:waypoint x="1770.0" y="770.0"/>
        <omgdi:waypoint x="1704.95" y="770.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="enableGW2Activate" id="BPMNEdge_enableGW2Activate">
        <omgdi:waypoint x="729.9339371980061" y="449.0"/>
        <omgdi:waypoint x="772.0" y="449.0"/>
        <omgdi:waypoint x="772.0" y="640.0"/>
        <omgdi:waypoint x="810.0" y="640.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="enableGW2Suspended" id="BPMNEdge_enableGW2Suspended">
        <omgdi:waypoint x="729.9339371980061" y="449.0"/>
        <omgdi:waypoint x="772.0" y="449.0"/>
        <omgdi:waypoint x="772.0" y="130.0"/>
        <omgdi:waypoint x="1590.0" y="130.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="create2Activate" id="BPMNEdge_create2Activate">
        <omgdi:waypoint x="369.91892523364487" y="527.0"/>
        <omgdi:waypoint x="382.0" y="527.0"/>
        <omgdi:waypoint x="382.0" y="449.0"/>
        <omgdi:waypoint x="690.0" y="449.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="active2RequestPasswordReset" id="BPMNEdge_active2RequestPasswordReset">
        <omgdi:waypoint x="1539.9442374350085" y="540.0"/>
        <omgdi:waypoint x="1693.0" y="540.0"/>
        <omgdi:waypoint x="1693.0" y="510.95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
        <omgdi:waypoint x="1689.95" y="130.0"/>
        <omgdi:waypoint x="1702.0" y="130.0"/>
        <omgdi:waypoint x="1702.0" y="150.0"/>
        <omgdi:waypoint x="1739.9999999999768" y="150.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
        <omgdi:waypoint x="1839.95" y="165.0"/>
        <omgdi:waypoint x="1879.0" y="165.0"/>
        <omgdi:waypoint x="1879.0" y="200.0"/>
        <omgdi:waypoint x="1920.0" y="200.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow99" id="BPMNEdge_flow99">
        <omgdi:waypoint x="2319.9499999999875" y="388.0"/>
        <omgdi:waypoint x="2358.0" y="388.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
        <omgdi:waypoint x="2040.0" y="129.51612903225808"/>
        <omgdi:waypoint x="2028.0" y="127.0"/>
        <omgdi:waypoint x="1478.0" y="40.0"/>
        <omgdi:waypoint x="1197.8145708582833" y="511.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow8ter" id="BPMNEdge_flow8ter">
        <omgdi:waypoint x="1940.0" y="899.9499999999999"/>
        <omgdi:waypoint x="1940.0" y="948.0"/>
        <omgdi:waypoint x="1339.0" y="948.0"/>
        <omgdi:waypoint x="1214.0" y="837.0"/>
        <omgdi:waypoint x="1183.4402027027027" y="570.95"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>