<?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: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="OBCTermination" name="OBC_Termination" isExecutable="true">
    <documentation>OBC Termination</documentation>
    <startEvent id="startEvent1" flowable:formFieldValidation="true"></startEvent>
    <serviceTask id="sid-A433AD12-AEC1-4753-BC69-E8CC5A52173E" name="Update OBC Termination task status to in progress" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[FnService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[updateTaskStatus]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="taskName">
          <flowable:string><![CDATA[OBC - Termination]]></flowable:string>
        </flowable:field>
        <flowable:field name="status">
          <flowable:string><![CDATA[In Progress]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-FEC31488-7309-41E7-BF40-A568CD41CDE1" sourceRef="startEvent1" targetRef="sid-A433AD12-AEC1-4753-BC69-E8CC5A52173E"></sequenceFlow>
    <serviceTask id="sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5" name="create order in OBC" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[OBCService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[createOrderInOBC]]></flowable:string>
        </flowable:field>
        <flowable:field name="oteaiheader.MsgFormat">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.MsgVersion">
          <flowable:expression><![CDATA[1]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.RequestorId">
          <flowable:string><![CDATA[NEP]]></flowable:string>
        </flowable:field>
        <flowable:field name="oteaiheader.RequestorChannelId">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.RequestorUserId">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.RequestorLanguage">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.RequestorSecurityInfo">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.EaiReference">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.ReturnCode">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.ReferenceNo">
          <flowable:expression><![CDATA[${arbor_Order_Id}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.EndUserTag">
          <flowable:expression><![CDATA[${fOBCTag}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.OrderType">
          <flowable:string><![CDATA[Disconnect]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.FirstName">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.LastName">
          <flowable:expression><![CDATA[${lastName}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.EndUserType">
          <flowable:expression><![CDATA[${endUserType}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.ProductType">
          <flowable:expression><![CDATA[${productType}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.ResidentialId">
          <flowable:expression><![CDATA[${custId}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.CRNNumber">
          <flowable:expression><![CDATA[${crrnNo}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.ContactNo1">
          <flowable:expression><![CDATA[${custPhone1}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.ContactNo2">
          <flowable:expression><![CDATA[${custPhone2}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.Email">
          <flowable:expression><![CDATA[${getSubscriberDetailsResponse.email}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.Governorate">
          <flowable:expression><![CDATA[${getSubscriberDetailsResponse.governorate}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.Wilaya">
          <flowable:expression><![CDATA[${getSubscriberDetailsResponse.wilaya}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.Area">
          <flowable:expression><![CDATA[${getSubscriberDetailsResponse.area}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.BuildingNo">
          <flowable:expression><![CDATA[${emptyVar}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.HouseNo">
          <flowable:expression><![CDATA[${houseNo}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.WayNo">
          <flowable:expression><![CDATA[${wayNo}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.RequestingLicenseesId">
          <flowable:string><![CDATA[d5a9a2ae-2cb9-dca2-1a15-566ffac12fd3]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.RlReferenceNo">
          <flowable:expression><![CDATA[${arbor_Order_Id}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.PropertyType">
          <flowable:expression><![CDATA[${propertyType}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.RlNotes">
          <flowable:expression><![CDATA[${rlnotes}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.OBBSeqNumber">
          <flowable:expression><![CDATA[${OBBSeqNumber}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <callActivity id="sid-98B47290-762A-4416-A48F-28AAC6B4E696" name="Interrupt WO" calledElement="InterruptWO" flowable:calledElementType="key" flowable:fallbackToDefaultTenant="false">
      <extensionElements>
        <flowable:in sourceExpression="${fWOID}" target="fWOID"></flowable:in>
        <flowable:in sourceExpression="Connection with OBC failed" target="errorRemarks"></flowable:in>
      </extensionElements>
    </callActivity>
    <sequenceFlow id="sid-021DC8D0-1C04-492E-947D-012AC4BD5798" sourceRef="sid-03974B8E-2332-4446-AB9D-A86FD46D7697" targetRef="sid-8BF113FC-DE0D-4B49-99C8-7804C66C6833"></sequenceFlow>
    <exclusiveGateway id="sid-9136B496-9C2A-49F4-9385-A1753F82C773"></exclusiveGateway>
    <sequenceFlow id="sid-1C0152A8-796E-483A-B6A9-11EE0E1641A6" sourceRef="sid-98B47290-762A-4416-A48F-28AAC6B4E696" targetRef="sid-9136B496-9C2A-49F4-9385-A1753F82C773"></sequenceFlow>
    <serviceTask id="sid-10C4FF2C-54C2-4044-B86F-518C4F3C73F9" name="Update OBC Termination task status to completed" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[FnService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[updateTaskStatus]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="taskName">
          <flowable:string><![CDATA[OBC - Termination]]></flowable:string>
        </flowable:field>
        <flowable:field name="status">
          <flowable:string><![CDATA[Completed]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <endEvent id="sid-23F7F8B0-29D6-45AE-A8C7-CD38685874CA"></endEvent>
    <sequenceFlow id="sid-F693C8E9-6950-474A-AF2F-B383D4D9DC2F" sourceRef="sid-10C4FF2C-54C2-4044-B86F-518C4F3C73F9" targetRef="sid-23F7F8B0-29D6-45AE-A8C7-CD38685874CA"></sequenceFlow>
    <userTask id="sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90" name="OBC - Termination" flowable:formFieldValidation="true">
      <extensionElements>
        <flowable:taskListener event="create" expression="${fnTaskCreationListener.notify(task)}"></flowable:taskListener>
        <flowable:taskListener event="complete" expression="${fnTaskCompletionListener.notify(task)}"></flowable:taskListener>
      </extensionElements>
    </userTask>
    <sequenceFlow id="sid-54598883-EFEE-40CC-87EA-D18D31385CF6" sourceRef="sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90" targetRef="sid-10C4FF2C-54C2-4044-B86F-518C4F3C73F9"></sequenceFlow>
    <boundaryEvent id="sid-03974B8E-2332-4446-AB9D-A86FD46D7697" attachedToRef="sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <serviceTask id="sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC" name="prepare subscriber Details" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[FnService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[getSubscriberDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="subscriberNo">
          <flowable:expression><![CDATA[${fSubno}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-FF356BC5-55A1-44FB-A8A8-49DFC2EFF7FB" sourceRef="sid-A433AD12-AEC1-4753-BC69-E8CC5A52173E" targetRef="sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC"></sequenceFlow>
    <serviceTask id="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5" name="getCustomerDetails" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[OMAPIServicesService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[getCustomerInfoByNumber]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.externalId">
          <flowable:expression><![CDATA[${fSubno}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.externalIdType">
          <flowable:string><![CDATA[200]]></flowable:string>
        </flowable:field>
        <flowable:field name="oteaiheader.requestorId">
          <flowable:string><![CDATA[ARBOR]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-18522C08-DD2E-49B8-8218-700C30AC6210" sourceRef="sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC" targetRef="sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187"></sequenceFlow>
    <scriptTask id="sid-4C91DB40-D6B0-4175-A958-4875F5664427" name="set variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[//OBC termination

String endUserType = "";
String firstContactNumber ="";
String secondContactNumber ="";
String custIdType = ""; 
String custId = "";
String crrnNo ="";

String wayNo ="";
String houseNo ="";
String failure ="0"; 
String errorMsg = "";

String lastName = getSubscriberDetailsResponse.fullName;

if(execution.getVariable("GetCustomerInfoByNumberResponseMessage") != null && execution.getVariable("GetCustomerInfoByNumberResponseMessage").getResponse()!=null)
{
	
if( execution.getVariable("GetCustomerInfoByNumberResponseMessage").getResponse().getCustomerIdDets()!=null ){

for( i =0; i<GetCustomerInfoByNumberResponseMessage.response.customerIdDets.size() ; i++){
custIdType = GetCustomerInfoByNumberResponseMessage.response.customerIdDets[i].customerIdType;

if(custIdType!=null){
	if(custIdType.equals("101")|| custIdType.equals("102") ||custIdType.equals("103") ||custIdType.equals("104")){

	endUserType ="Residential";
	custId = GetCustomerInfoByNumberResponseMessage.response.customerIdDets[i].customerId;
	break;
	}
	if(custIdType.equals("105")|| custIdType.equals("209")|| custIdType.equals("108")){
	endUserType ="Business";
	crrnNo = GetCustomerInfoByNumberResponseMessage.response.customerIdDets[i].customerId;
	break;
	}
}

}


if(lastName==null || lastName.trim().isEmpty())
	lastName = ""+ GetCustomerInfoByNumberResponseMessage.response.siBillCompany;
if(lastName==null || lastName.trim().isEmpty() || lastName.trim().equalsIgnoreCase("null"))
	lastName = ""+ GetCustomerInfoByNumberResponseMessage.response.siBillCompanyFind;
if(lastName==null || lastName.trim().isEmpty() || lastName.trim().equalsIgnoreCase("null"))
	lastName = ""+ GetCustomerInfoByNumberResponseMessage.response.billCompany;


String contact1Phone = ""+ GetCustomerInfoByNumberResponseMessage.response.contact1Phone;
String contact2Phone = ""+ GetCustomerInfoByNumberResponseMessage.response.contact2Phone;
String custPhone1 = ""+ GetCustomerInfoByNumberResponseMessage.response.custPhone1;
String custPhone2 = ""+ GetCustomerInfoByNumberResponseMessage.response.custPhone2;
//String siCustPhone1 = ""+ GetCustomerInfoByNumberResponseMessage.response.siCustPhone1;
//String siCustPhone2 = ""+ GetCustomerInfoByNumberResponseMessage.response.siCustPhone2;

firstContactNumber = contact1Phone;
if(firstContactNumber== null || firstContactNumber.trim().isEmpty() || firstContactNumber.trim().equalsIgnoreCase("null"))
	firstContactNumber = contact2Phone;
if(firstContactNumber== null || firstContactNumber.trim().isEmpty() || firstContactNumber.trim().equalsIgnoreCase("null"))
	firstContactNumber = custPhone1;
if(firstContactNumber== null || firstContactNumber.trim().isEmpty() || firstContactNumber.trim().equalsIgnoreCase("null"))
	firstContactNumber = custPhone2;

if(firstContactNumber.equals(contact1Phone)) {
    secondContactNumber = contact2Phone;
    if(secondContactNumber == null || secondContactNumber.trim().isEmpty() || secondContactNumber.trim().equalsIgnoreCase("null"))
        secondContactNumber = custPhone1;
    if(secondContactNumber == null || secondContactNumber.trim().isEmpty() || secondContactNumber.trim().equalsIgnoreCase("null"))
        secondContactNumber = custPhone2;
} else if (firstContactNumber.equals(contact2Phone) || contact2Phone == null || contact2Phone.trim().isEmpty() || contact2Phone.trim().equalsIgnoreCase("null")) {
    secondContactNumber = custPhone1;
    if(secondContactNumber == null || secondContactNumber.trim().isEmpty() || secondContactNumber.trim().equalsIgnoreCase("null"))
        secondContactNumber = custPhone2;
	if(firstContactNumber.equals(custPhone1))
		secondContactNumber = custPhone2;
}else if (firstContactNumber != null && !firstContactNumber.trim().isEmpty() && !firstContactNumber.trim().equalsIgnoreCase("null")) {
    secondContactNumber = firstContactNumber;
}

}
else if(execution.getVariable("GetCustomerInfoByNumberResponseMessage").getResponse().getReturnCode()!=null && 
		execution.getVariable("GetCustomerInfoByNumberResponseMessage").getResponse().getReturnCode() != "0000"){
		failure ="1";
		errorMsg = "Arbor failure return: " + GetCustomerInfoByNumberResponseMessage.response.returnMessage;
}
}

else{
	errorMsg ="Connection with Arbor Failed: customer Details not received";
	failure ="1";
}



if(endUserType.equals("Business")){
execution.setVariable("propertyType","MDU");
}
else {
execution.setVariable("propertyType","SDU");
}

if(execution.getVariable("GetSubscriberProfileResponseMessage") != null && execution.getVariable("GetSubscriberProfileResponseMessage").getResponse()!=null
&& execution.getVariable("GetSubscriberProfileResponseMessage").getResponse().getAddOnFields()!=null){
	
	wayNo = GetSubscriberProfileResponseMessage.response.addOnFields.BServiceCompany;
	houseNo = GetSubscriberProfileResponseMessage.response.addOnFields.BServiceAddress1;
	
}

println "Check if Satellite";
if(execution.getVariable("isSatellite")==null)
execution.setVariable("isSatellite", false);

if(execution.getVariable("isSatellite")==false){
println "It is not Satellite";
execution.setVariable("productType","BEUC")
}
else {
println "It is Satellite";
execution.setVariable("productType","SBUC")
}

println "End checking if it is Satellite";

if(fOBCTag  == null || fOBCTag.trim().isEmpty()){
execution.setVariable("fOBCTag","");

try{
	if(getSubscriberDetailsResponse.obcTag!=null)
		execution.setVariable("fOBCTag", getSubscriberDetailsResponse.obcTag);
	}catch(Exception ex){
		println "ERROR while checking: getSubscriberDetailsResponse.obcTag";
	}
}


// GTM 835 

println "start GTM 835 ";

if(GetFixedInternetDetailsResponseMessage != null && GetFixedInternetDetailsResponseMessage.response != null) {
    if(GetFixedInternetDetailsResponseMessage.response.returnCode != null && !GetFixedInternetDetailsResponseMessage.response.returnCode.equalsIgnoreCase("0000")) {
        errorCode = GetFixedInternetDetailsResponseMessage.response.returnCode;
        errorMessage = "Failed to get serial number from arbor, error code: " + errorCode;
    } else {
        boolean matchFound = false; 

        if(GetFixedInternetDetailsResponseMessage.response.externalIdDetails != null && GetFixedInternetDetailsResponseMessage.response.externalIdDetails.item != null) {
            for (item in GetFixedInternetDetailsResponseMessage.response.externalIdDetails.item) {
                println "externalIdTypeBasic = " + item.externalIdType;

                if ("364".equalsIgnoreCase(item.externalIdType)) {
                    println " found OBB Sequence no " + item.externalId;
                    execution.setVariable("OBBSeqNumber",item.externalId);
                    matchFound = true; 
                    break; 
                }
            }

           
            if (!matchFound) {
                execution.setVariable("OBBSeqNumber", null);
            }
        } else {
           
            execution.setVariable("OBBSeqNumber", null);
        }
    }
}

println "end GTM 835 ";
// if(getSubscriberDetailsResponse.obbSeqNumber!=null && !getSubscriberDetailsResponse.obbSeqNumber.trim().isEmpty()){
// 	try{
// 		execution.setVariable("OBBSeqNumber", getSubscriberDetailsResponse.obbSeqNumber);
// 	}catch(Exception ex){
// 		println "ERROR while checking: getSubscriberDetailsResponse.obbSeqNumber";
// 	}
// }

String rlnotes = ""+fSubno;
rlnotes+=","+getSubscriberDetailsResponse.serviceType;
rlnotes+=",Installation";
execution.setVariable("rlnotes",rlnotes);
execution.setVariable("emptyVar","");
execution.setVariable("custPhone1",firstContactNumber);
execution.setVariable("custPhone2",secondContactNumber);
execution.setVariable("endUserType",endUserType);
execution.setVariable("custId",custId);
execution.setVariable("crrnNo",crrnNo);

execution.setVariable("wayNo",wayNo);
execution.setVariable("houseNo",houseNo);
execution.setVariable("failure",failure);
execution.setVariable("errorMsg",errorMsg);
execution.setVariable("lastName",lastName);]]></script>
    </scriptTask>
    <sequenceFlow id="sid-0AD5A561-F0DB-481C-9E1F-2666E798742F" sourceRef="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5" targetRef="sid-4C91DB40-D6B0-4175-A958-4875F5664427"></sequenceFlow>
    <sequenceFlow id="sid-1E2527E2-6402-4659-8E2B-025315052B76" sourceRef="sid-F87DCA81-A9CC-4387-9F0A-BA0466F2458A" targetRef="sid-4C91DB40-D6B0-4175-A958-4875F5664427"></sequenceFlow>
    <boundaryEvent id="sid-F87DCA81-A9CC-4387-9F0A-BA0466F2458A" attachedToRef="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-28B1B20C-61B5-41DD-A5BA-4A5647AB33A5" name="continue" sourceRef="sid-9136B496-9C2A-49F4-9385-A1753F82C773" targetRef="sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${actionToDo=='continue'}]]></conditionExpression>
    </sequenceFlow>
    <scriptTask id="sid-56A3080C-9C62-41A6-815C-F9365982D4BE" name="set variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[String errorMessage ="";
String failed = "0";


if(execution.getVariable("createOrderInOBC_out")!=null && execution.getVariable("createOrderInOBC_out").getReply()!=null){

	if(execution.getVariable("createOrderInOBC_out").getReply().getReturnCode()!=null && execution.getVariable("createOrderInOBC_out").getReply().getReturnCode()!="0000"){
		errorMessage = "OBC response:" + createOrderInOBC_out.reply.returnMsg;
		failed ="1";
	}
	

}
else{
if(execution.getVariable("createOrderInOBC_out") == null) 
	println "createOrderInOBCResponse is Null";

else if(execution.getVariable("createOrderInOBC_out").getReply() == null)
	println "createOrderInOBCResponse Reply is Null";

failed ="1";
errorMessage = "Connection with OBC Failed";
}

execution.setVariable("failed",failed);
execution.setVariable("errorMessage",errorMessage);
execution.setVariable("GetCustomerInfoByNumberResponseMessage","");
execution.setVariable("GetSubscriberProfileResponseMessage","");]]></script>
    </scriptTask>
    <sequenceFlow id="sid-805F3673-659B-41A6-9CEB-739C6D4C39CC" sourceRef="sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5" targetRef="sid-56A3080C-9C62-41A6-815C-F9365982D4BE"></sequenceFlow>
    <exclusiveGateway id="sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0"></exclusiveGateway>
    <sequenceFlow id="sid-F6C23E10-943B-41FE-BFC1-82FABF1A09BD" sourceRef="sid-56A3080C-9C62-41A6-815C-F9365982D4BE" targetRef="sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0"></sequenceFlow>
    <callActivity id="sid-074AECD7-EC18-43CB-B564-07AB67988B8D" name="Interrupt WO" calledElement="InterruptWO" flowable:calledElementType="key" flowable:fallbackToDefaultTenant="false">
      <extensionElements>
        <flowable:in sourceExpression="${fWOID}" target="fWOID"></flowable:in>
        <flowable:in sourceExpression="${errorMessage}" target="errorRemarks"></flowable:in>
      </extensionElements>
    </callActivity>
    <sequenceFlow id="sid-B8B8962E-28A8-41DE-85BA-EC84B67884A4" sourceRef="sid-074AECD7-EC18-43CB-B564-07AB67988B8D" targetRef="sid-9136B496-9C2A-49F4-9385-A1753F82C773"></sequenceFlow>
    <sequenceFlow id="sid-D64734BF-2142-40A9-8B82-238532D89627" sourceRef="sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0" targetRef="sid-074AECD7-EC18-43CB-B564-07AB67988B8D">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${failed == "1"}]]></conditionExpression>
    </sequenceFlow>
    <serviceTask id="sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9" name="getsubscriberProfile" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[OMAPIServicesService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[getSubscriberProfile]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.externalId">
          <flowable:expression><![CDATA[${fSubno}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="request.externalIdType">
          <flowable:string><![CDATA[200]]></flowable:string>
        </flowable:field>
        <flowable:field name="oteaiheader.requestorId">
          <flowable:string><![CDATA[ARBOR]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <boundaryEvent id="sid-44E2647C-1B78-42E0-AD65-F8B51F64CBA7" attachedToRef="sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-6824C469-652E-491B-93F6-CDD2D347CC6D" sourceRef="sid-44E2647C-1B78-42E0-AD65-F8B51F64CBA7" targetRef="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5"></sequenceFlow>
    <sequenceFlow id="sid-DB30893B-8536-4969-BBEB-B6347D85A759" sourceRef="sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9" targetRef="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5"></sequenceFlow>
    <exclusiveGateway id="sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D"></exclusiveGateway>
    <sequenceFlow id="sid-20D411B8-CA7A-42B5-98DB-56ACB5CF3DA3" sourceRef="sid-4C91DB40-D6B0-4175-A958-4875F5664427" targetRef="sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D"></sequenceFlow>
    <scriptTask id="sid-5B93A25D-7C3A-4FA7-AC95-EC976D02D4B6" name="set variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[execution.setVariable("GetCustomerInfoByNumberResponseMessage","");
execution.setVariable("GetSubscriberProfileResponseMessage","");]]></script>
    </scriptTask>
    <callActivity id="sid-E94330C3-AC4C-461A-AB93-2224C854C572" name="Interrupt WO" calledElement="InterruptWO" flowable:calledElementType="key" flowable:fallbackToDefaultTenant="false">
      <extensionElements>
        <flowable:in sourceExpression="${fWOID}" target="fWOID"></flowable:in>
        <flowable:in sourceExpression="${errorMsg}" target="errorRemarks"></flowable:in>
      </extensionElements>
    </callActivity>
    <sequenceFlow id="sid-59716ABA-4739-4568-B28B-EA64B9A944BA" sourceRef="sid-5B93A25D-7C3A-4FA7-AC95-EC976D02D4B6" targetRef="sid-E94330C3-AC4C-461A-AB93-2224C854C572"></sequenceFlow>
    <sequenceFlow id="sid-AD11961C-7901-4444-BC38-BD74A083FF58" sourceRef="sid-E94330C3-AC4C-461A-AB93-2224C854C572" targetRef="sid-9136B496-9C2A-49F4-9385-A1753F82C773"></sequenceFlow>
    <sequenceFlow id="sid-5ECA0B53-B7F7-4F32-B059-35581990A551" sourceRef="sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D" targetRef="sid-5B93A25D-7C3A-4FA7-AC95-EC976D02D4B6">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${failure == "1"}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-D71997A0-9770-49BD-B6E4-2AF928365F5B" sourceRef="sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D" targetRef="sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${failure == "0"}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-F29646A3-73A3-4849-AFB4-07FCB2D5AB3B" sourceRef="sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0" targetRef="sid-A78517CF-DF77-4D95-8861-B2BAB4FC75B3">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${failed == "0"}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-E9A70944-247F-4182-8871-64535B764715" name="retry" sourceRef="sid-9136B496-9C2A-49F4-9385-A1753F82C773" targetRef="sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${actionToDo=='retry'}]]></conditionExpression>
    </sequenceFlow>
    <scriptTask id="sid-A78517CF-DF77-4D95-8861-B2BAB4FC75B3" name="Extract Obc Order No" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[String res = createOrderInOBC_out.reply.returnMsg;

if(res.contains("Success")){
  
  String[] obcOrderNo = res.split(':');
  
  if(obcOrderNo.length == 3)
      if(obcOrderNo[2] != null && !obcOrderNo[2].isEmpty())
          execution.setVariable("obcOrderNo",obcOrderNo[2]);
      else
          execution.setVariable("obcOrderNo",'');
  else
    execution.setVariable("obcOrderNo",'');

}
else
  execution.setVariable("obcOrderNo",'');]]></script>
    </scriptTask>
    <serviceTask id="sid-9303CC47-ABD1-4E07-B1F4-109737996327" name="Add or Update ObcOrderNo" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[FnService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[addOrUpdateObcOrderNumber]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="obcOrderNumber">
          <flowable:expression><![CDATA[${obcOrderNo}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="obbSeqNo">
          <flowable:expression><![CDATA[${OBBSeqNumber}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-BD88B26D-51CC-4B0D-8D7A-177C2103DE52" sourceRef="sid-A78517CF-DF77-4D95-8861-B2BAB4FC75B3" targetRef="sid-9303CC47-ABD1-4E07-B1F4-109737996327"></sequenceFlow>
    <sequenceFlow id="sid-969815F1-5D33-4394-80F2-5BF317F286A9" sourceRef="sid-9303CC47-ABD1-4E07-B1F4-109737996327" targetRef="sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90"></sequenceFlow>
    <scriptTask id="sid-8BF113FC-DE0D-4B49-99C8-7804C66C6833" name="set variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[execution.setVariable("GetCustomerInfoByNumberResponseMessage","");
execution.setVariable("GetSubscriberProfileResponseMessage","");]]></script>
    </scriptTask>
    <sequenceFlow id="sid-31B18731-96C2-4FCA-A3B5-0F1099E35CB3" sourceRef="sid-8BF113FC-DE0D-4B49-99C8-7804C66C6833" targetRef="sid-98B47290-762A-4416-A48F-28AAC6B4E696"></sequenceFlow>
    <serviceTask id="sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187" name="Get Fixed Internet Details
" flowable:class="com.mobinets.nep.client.workflow.soap.SoapDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[OMAPIServicesService]]></flowable:string>
        </flowable:field>
        <flowable:field name="operation">
          <flowable:string><![CDATA[getFixedInternetDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.externalId">
          <flowable:expression><![CDATA[${fSubno}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.requestorId">
          <flowable:string><![CDATA[ARBOR]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <boundaryEvent id="sid-238DB419-E948-47C8-8210-1123A8F2FC52" attachedToRef="sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-E2983CAD-E766-4B90-857E-FE7184B3C3D2" sourceRef="sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187" targetRef="sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_OBCTermination">
    <bpmndi:BPMNPlane bpmnElement="OBCTermination" id="BPMNPlane_OBCTermination">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="120.0" y="261.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-A433AD12-AEC1-4753-BC69-E8CC5A52173E" id="BPMNShape_sid-A433AD12-AEC1-4753-BC69-E8CC5A52173E">
        <omgdc:Bounds height="80.0" width="100.0" x="195.0" y="236.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5" id="BPMNShape_sid-7DAB8681-609A-4D7A-833A-4300EDEBF5A5">
        <omgdc:Bounds height="80.0" width="100.0" x="1065.0" y="225.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-98B47290-762A-4416-A48F-28AAC6B4E696" id="BPMNShape_sid-98B47290-762A-4416-A48F-28AAC6B4E696">
        <omgdc:Bounds height="79.99999999999994" width="100.0" x="1065.0000000000002" y="465.00000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-9136B496-9C2A-49F4-9385-A1753F82C773" id="BPMNShape_sid-9136B496-9C2A-49F4-9385-A1753F82C773">
        <omgdc:Bounds height="40.0" width="40.0" x="1093.97500780884" y="600.0000000000001"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-10C4FF2C-54C2-4044-B86F-518C4F3C73F9" id="BPMNShape_sid-10C4FF2C-54C2-4044-B86F-518C4F3C73F9">
        <omgdc:Bounds height="80.0" width="100.0" x="1800.0" y="239.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-23F7F8B0-29D6-45AE-A8C7-CD38685874CA" id="BPMNShape_sid-23F7F8B0-29D6-45AE-A8C7-CD38685874CA">
        <omgdc:Bounds height="28.0" width="28.0" x="1920.0" y="265.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90" id="BPMNShape_sid-4AC19E1D-C472-4A74-A576-CC50CA10EF90">
        <omgdc:Bounds height="80.0" width="100.0" x="1680.0" y="241.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-03974B8E-2332-4446-AB9D-A86FD46D7697" id="BPMNShape_sid-03974B8E-2332-4446-AB9D-A86FD46D7697">
        <omgdc:Bounds height="30.0" width="30.0" x="1099.0" y="291.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC" id="BPMNShape_sid-F8E388B1-D5E1-4477-A1E5-A4E7FBF285EC">
        <omgdc:Bounds height="80.0" width="100.0" x="330.0" y="236.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5" id="BPMNShape_sid-B6892D6D-2D36-48D7-ABCD-9B650DE018C5">
        <omgdc:Bounds height="80.0" width="100.0" x="645.0" y="238.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4C91DB40-D6B0-4175-A958-4875F5664427" id="BPMNShape_sid-4C91DB40-D6B0-4175-A958-4875F5664427">
        <omgdc:Bounds height="80.0" width="100.0" x="810.0" y="238.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-F87DCA81-A9CC-4387-9F0A-BA0466F2458A" id="BPMNShape_sid-F87DCA81-A9CC-4387-9F0A-BA0466F2458A">
        <omgdc:Bounds height="30.0" width="30.0" x="731.0" y="287.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-56A3080C-9C62-41A6-815C-F9365982D4BE" id="BPMNShape_sid-56A3080C-9C62-41A6-815C-F9365982D4BE">
        <omgdc:Bounds height="80.0" width="100.0" x="1185.0" y="240.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0" id="BPMNShape_sid-0E373970-88B2-493C-B0D9-AC8AD58A59A0">
        <omgdc:Bounds height="40.0" width="40.0" x="1330.0" y="260.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-074AECD7-EC18-43CB-B564-07AB67988B8D" id="BPMNShape_sid-074AECD7-EC18-43CB-B564-07AB67988B8D">
        <omgdc:Bounds height="80.0" width="100.0" x="1300.0" y="450.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9" id="BPMNShape_sid-7BC458BC-5F52-4422-B0ED-32FF4B9734A9">
        <omgdc:Bounds height="80.0" width="100.0" x="495.0" y="236.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-44E2647C-1B78-42E0-AD65-F8B51F64CBA7" id="BPMNShape_sid-44E2647C-1B78-42E0-AD65-F8B51F64CBA7">
        <omgdc:Bounds height="30.0" width="30.0" x="581.0" y="285.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D" id="BPMNShape_sid-DDA4B3C1-DC52-43D3-B0F5-1199A993209D">
        <omgdc:Bounds height="40.0" width="40.0" x="955.0" y="258.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-5B93A25D-7C3A-4FA7-AC95-EC976D02D4B6" id="BPMNShape_sid-5B93A25D-7C3A-4FA7-AC95-EC976D02D4B6">
        <omgdc:Bounds height="80.0" width="100.0" x="925.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-E94330C3-AC4C-461A-AB93-2224C854C572" id="BPMNShape_sid-E94330C3-AC4C-461A-AB93-2224C854C572">
        <omgdc:Bounds height="80.0" width="100.0" x="925.0" y="450.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-A78517CF-DF77-4D95-8861-B2BAB4FC75B3" id="BPMNShape_sid-A78517CF-DF77-4D95-8861-B2BAB4FC75B3">
        <omgdc:Bounds height="80.0" width="100.0" x="1410.0" y="239.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-9303CC47-ABD1-4E07-B1F4-109737996327" id="BPMNShape_sid-9303CC47-ABD1-4E07-B1F4-109737996327">
        <omgdc:Bounds height="80.0" width="100.0" x="1545.0" y="241.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8BF113FC-DE0D-4B49-99C8-7804C66C6833" id="BPMNShape_sid-8BF113FC-DE0D-4B49-99C8-7804C66C6833">
        <omgdc:Bounds height="80.0" width="100.0" x="1065.0000000000002" y="360.00000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187" id="BPMNShape_sid-8CC04DF7-BFA1-439F-A357-1447AEEC7187">
        <omgdc:Bounds height="80.0" width="100.0" x="419.9999780952942" y="134.9999929592017"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-238DB419-E948-47C8-8210-1123A8F2FC52" id="BPMNShape_sid-238DB419-E948-47C8-8210-1123A8F2FC52">
        <omgdc:Bounds height="30.0" width="30.0" x="505.9999780952942" y="183.9999929592017"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-F6C23E10-943B-41FE-BFC1-82FABF1A09BD" id="BPMNEdge_sid-F6C23E10-943B-41FE-BFC1-82FABF1A09BD">
        <omgdi:waypoint x="1284.95" y="280.0"></omgdi:waypoint>
        <omgdi:waypoint x="1330.0" y="280.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D64734BF-2142-40A9-8B82-238532D89627" id="BPMNEdge_sid-D64734BF-2142-40A9-8B82-238532D89627">
        <omgdi:waypoint x="1350.0" y="299.94525226082817"></omgdi:waypoint>
        <omgdi:waypoint x="1350.0" y="450.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-805F3673-659B-41A6-9CEB-739C6D4C39CC" id="BPMNEdge_sid-805F3673-659B-41A6-9CEB-739C6D4C39CC">
        <omgdi:waypoint x="1164.95" y="271.24375000000003"></omgdi:waypoint>
        <omgdi:waypoint x="1184.9999999999998" y="273.75"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-BD88B26D-51CC-4B0D-8D7A-177C2103DE52" id="BPMNEdge_sid-BD88B26D-51CC-4B0D-8D7A-177C2103DE52">
        <omgdi:waypoint x="1509.95" y="279.74"></omgdi:waypoint>
        <omgdi:waypoint x="1544.9999999999984" y="280.25925925925924"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-54598883-EFEE-40CC-87EA-D18D31385CF6" id="BPMNEdge_sid-54598883-EFEE-40CC-87EA-D18D31385CF6">
        <omgdi:waypoint x="1779.949999999999" y="280.1666666666667"></omgdi:waypoint>
        <omgdi:waypoint x="1799.9999999999995" y="279.83250000000004"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-28B1B20C-61B5-41DD-A5BA-4A5647AB33A5" id="BPMNEdge_sid-28B1B20C-61B5-41DD-A5BA-4A5647AB33A5">
        <omgdi:waypoint x="1133.9233888191663" y="620.0000000000001"></omgdi:waypoint>
        <omgdi:waypoint x="1730.0" y="620.0"></omgdi:waypoint>
        <omgdi:waypoint x="1730.0" y="320.95000000000005"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-FEC31488-7309-41E7-BF40-A568CD41CDE1" id="BPMNEdge_sid-FEC31488-7309-41E7-BF40-A568CD41CDE1">
        <omgdi:waypoint x="149.9499984899576" y="276.0"></omgdi:waypoint>
        <omgdi:waypoint x="194.9999999999917" y="276.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-6824C469-652E-491B-93F6-CDD2D347CC6D" id="BPMNEdge_sid-6824C469-652E-491B-93F6-CDD2D347CC6D">
        <omgdi:waypoint x="610.5971160720976" y="296.74534772454314"></omgdi:waypoint>
        <omgdi:waypoint x="645.0" y="289.1"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D71997A0-9770-49BD-B6E4-2AF928365F5B" id="BPMNEdge_sid-D71997A0-9770-49BD-B6E4-2AF928365F5B">
        <omgdi:waypoint x="994.931896551724" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="1030.0" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="1030.0" y="265.0"></omgdi:waypoint>
        <omgdi:waypoint x="1064.9999999999554" y="265.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-31B18731-96C2-4FCA-A3B5-0F1099E35CB3" id="BPMNEdge_sid-31B18731-96C2-4FCA-A3B5-0F1099E35CB3">
        <omgdi:waypoint x="1115.0000000000002" y="439.95000000000005"></omgdi:waypoint>
        <omgdi:waypoint x="1115.0000000000002" y="465.00000000000006"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F693C8E9-6950-474A-AF2F-B383D4D9DC2F" id="BPMNEdge_sid-F693C8E9-6950-474A-AF2F-B383D4D9DC2F">
        <omgdi:waypoint x="1899.949999999969" y="279.0"></omgdi:waypoint>
        <omgdi:waypoint x="1920.0" y="279.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-0AD5A561-F0DB-481C-9E1F-2666E798742F" id="BPMNEdge_sid-0AD5A561-F0DB-481C-9E1F-2666E798742F">
        <omgdi:waypoint x="744.9499999998898" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="809.9999999999847" y="278.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-B8B8962E-28A8-41DE-85BA-EC84B67884A4" id="BPMNEdge_sid-B8B8962E-28A8-41DE-85BA-EC84B67884A4">
        <omgdi:waypoint x="1300.0" y="517.5119170208078"></omgdi:waypoint>
        <omgdi:waypoint x="1126.8394260717178" y="612.8966599126596"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1C0152A8-796E-483A-B6A9-11EE0E1641A6" id="BPMNEdge_sid-1C0152A8-796E-483A-B6A9-11EE0E1641A6">
        <omgdi:waypoint x="1115.0" y="544.95"></omgdi:waypoint>
        <omgdi:waypoint x="1115.0" y="557.0"></omgdi:waypoint>
        <omgdi:waypoint x="1113.0" y="557.0"></omgdi:waypoint>
        <omgdi:waypoint x="1113.6701988397645" y="600.2715396714294"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-021DC8D0-1C04-492E-947D-012AC4BD5798" id="BPMNEdge_sid-021DC8D0-1C04-492E-947D-012AC4BD5798">
        <omgdi:waypoint x="1114.1590336289607" y="320.9490876271217"></omgdi:waypoint>
        <omgdi:waypoint x="1114.5744680851064" y="360.00000000000006"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-AD11961C-7901-4444-BC38-BD74A083FF58" id="BPMNEdge_sid-AD11961C-7901-4444-BC38-BD74A083FF58">
        <omgdi:waypoint x="1017.7070285425849" y="529.95"></omgdi:waypoint>
        <omgdi:waypoint x="1103.63978965085" y="610.333674413915"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-18522C08-DD2E-49B8-8218-700C30AC6210" id="BPMNEdge_sid-18522C08-DD2E-49B8-8218-700C30AC6210">
        <omgdi:waypoint x="396.21731693786285" y="236.0"></omgdi:waypoint>
        <omgdi:waypoint x="419.9999780952942" y="177.3402382750832"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-20D411B8-CA7A-42B5-98DB-56ACB5CF3DA3" id="BPMNEdge_sid-20D411B8-CA7A-42B5-98DB-56ACB5CF3DA3">
        <omgdi:waypoint x="909.949999999816" y="278.0"></omgdi:waypoint>
        <omgdi:waypoint x="955.0" y="278.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F29646A3-73A3-4849-AFB4-07FCB2D5AB3B" id="BPMNEdge_sid-F29646A3-73A3-4849-AFB4-07FCB2D5AB3B">
        <omgdi:waypoint x="1369.7702702702702" y="279.8198198198198"></omgdi:waypoint>
        <omgdi:waypoint x="1409.9999999999995" y="279.4540909090909"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-969815F1-5D33-4394-80F2-5BF317F286A9" id="BPMNEdge_sid-969815F1-5D33-4394-80F2-5BF317F286A9">
        <omgdi:waypoint x="1644.949999999876" y="281.0"></omgdi:waypoint>
        <omgdi:waypoint x="1679.999999999972" y="281.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-5ECA0B53-B7F7-4F32-B059-35581990A551" id="BPMNEdge_sid-5ECA0B53-B7F7-4F32-B059-35581990A551">
        <omgdi:waypoint x="975.0" y="297.9391693811075"></omgdi:waypoint>
        <omgdi:waypoint x="975.0" y="330.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-E9A70944-247F-4182-8871-64535B764715" id="BPMNEdge_sid-E9A70944-247F-4182-8871-64535B764715">
        <omgdi:waypoint x="1093.97500780884" y="620.0000000000001"></omgdi:waypoint>
        <omgdi:waypoint x="380.0" y="620.0"></omgdi:waypoint>
        <omgdi:waypoint x="380.0" y="315.95000000000005"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-DB30893B-8536-4969-BBEB-B6347D85A759" id="BPMNEdge_sid-DB30893B-8536-4969-BBEB-B6347D85A759">
        <omgdi:waypoint x="594.9499999999998" y="276.666"></omgdi:waypoint>
        <omgdi:waypoint x="644.9999999999986" y="277.3333333333333"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-FF356BC5-55A1-44FB-A8A8-49DFC2EFF7FB" id="BPMNEdge_sid-FF356BC5-55A1-44FB-A8A8-49DFC2EFF7FB">
        <omgdi:waypoint x="294.9499999998759" y="276.0"></omgdi:waypoint>
        <omgdi:waypoint x="329.99999999997203" y="276.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-E2983CAD-E766-4B90-857E-FE7184B3C3D2" id="BPMNEdge_sid-E2983CAD-E766-4B90-857E-FE7184B3C3D2">
        <omgdi:waypoint x="499.6658262757075" y="214.94999295920172"></omgdi:waypoint>
        <omgdi:waypoint x="515.2970230984598" y="236.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1E2527E2-6402-4659-8E2B-025315052B76" id="BPMNEdge_sid-1E2527E2-6402-4659-8E2B-025315052B76">
        <omgdi:waypoint x="760.6322861509499" y="298.9092161329171"></omgdi:waypoint>
        <omgdi:waypoint x="809.9999999999999" y="288.5157894736842"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-59716ABA-4739-4568-B28B-EA64B9A944BA" id="BPMNEdge_sid-59716ABA-4739-4568-B28B-EA64B9A944BA">
        <omgdi:waypoint x="975.0" y="409.95000000000005"></omgdi:waypoint>
        <omgdi:waypoint x="975.0" y="450.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>