<?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="FFMSCreateWorkOrderwithparameters_Manually" name="FFMS Create Work Order with parameters Manually" isExecutable="true">
    <documentation>Work Order / Jobs Creation
commit :  invoke GetFixedInternetDetails OM API to extract primary contact no , secondary contact no and installation date and should pass to FMSS while calling FFMS create WO API</documentation>
    <scriptTask id="sid-01021CB2-AB8F-40E2-B3B7-B5DDF2882415" name="Set Variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[import java.util.logging.Logger;

Logger logger = Logger.getLogger("com.mobinets.FFMS");

String body =  "<FIELDWORKORDER>\n"+getFfmsWorkOrderDetailsResponse+"\n"+getCustomerDetailsResponse +"\n" + getFfmsJobDetailsResponse + "\n" + getFfmsNetworkDetailsResponse+"\n</FIELDWORKORDER>"; 

// Ayed 08-DEC-2025
woBody2 = woBody2.replaceAll("<CONTACT1_PHONE>.*?</CONTACT1_PHONE>", "<CONTACT1_PHONE>${primaryContactNo}</CONTACT1_PHONE>")
                 .replaceAll("<CONTACT2_PHONE>.*?</CONTACT2_PHONE>", "<CONTACT2_PHONE>${secondaryContactNo}</CONTACT2_PHONE>")
                 .replaceAll("<SURVEY_DT>.*?</SURVEY_DT>", "<SURVEY_DT>${installationDate}</SURVEY_DT>")
				 
execution.setVariable("body", body);

String message = "FFMS Create WO Body ----> \n" + body ;

logger.info (message);]]></script>
    </scriptTask>
    <serviceTask id="sid-12492F8D-CCBB-4CD9-937B-FE50DF5851CE" name="Get Customer 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[getCustomerDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="exc">
          <flowable:expression><![CDATA[${fExc}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="fullName">
          <flowable:expression><![CDATA[${fullName}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="accountNo">
          <flowable:expression><![CDATA[${accountNo}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="accountCategory">
          <flowable:expression><![CDATA[${customerCategory}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="contact1Phone">
          <flowable:expression><![CDATA[${firstContactNumber}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="contact2Phone">
          <flowable:expression><![CDATA[${secondContactNumber}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="address">
          <flowable:expression><![CDATA[${address}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="cabinet">
          <flowable:expression><![CDATA[${fCabinet}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="dpoint">
          <flowable:expression><![CDATA[${fDpoint}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="customerContact">
          <flowable:expression><![CDATA[${customerContactPhoneNo}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <serviceTask id="sid-4AC03504-4BCA-4A90-9134-E56DB53B9A17" name="Get FFMS Work Order 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[getFfmsWorkOrderDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="userId">
          <flowable:expression><![CDATA[${fUserID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="usageTypeCode">
          <flowable:expression><![CDATA[${fUsage_Type}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="woType">
          <flowable:expression><![CDATA[${fOrder_Type}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="networkType">
          <flowable:expression><![CDATA[${networkType}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="serOrNo">
          <flowable:expression><![CDATA[${sWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="salesCode">
          <flowable:expression><![CDATA[${salesCode}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="languageCode">
          <flowable:expression><![CDATA[${languageCode}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="arborOrderId">
          <flowable:expression><![CDATA[${arbor_Order_Id}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="channel">
          <flowable:expression><![CDATA[${channel}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="surveyDt">
          <flowable:expression><![CDATA[${surveyDt}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <serviceTask id="sid-09F315CB-FC8A-4550-81EB-10D178B2A6BD" name="Get FFMS Job 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[getFfmsJobDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <serviceTask id="sid-6C1DCB5A-34D7-4172-9ACF-104BA8CD5C75" name="Get FFMS Network 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[getFfmsNetworkDetails]]></flowable:string>
        </flowable:field>
        <flowable:field name="woNo">
          <flowable:expression><![CDATA[${fWOID}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="exc">
          <flowable:expression><![CDATA[${fExc}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="cabinet">
          <flowable:expression><![CDATA[${fCabinet}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="dpoint">
          <flowable:expression><![CDATA[${fDpoint}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="lineStatus">
          <flowable:expression><![CDATA[${lineStatus}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <serviceTask id="sid-717BA73C-E349-4C33-9AF0-359051CD6CFD" name="Get Customer Details from Arbor" 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[NEP]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.referenceNo">
          <flowable:expression><![CDATA[${ArboRefNo}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <scriptTask id="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F" name="empty variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[execution.setVariable("system", "ARBOR");
execution.setVariable("error_code","1");
execution.setVariable("fullName", "");
execution.setVariable("address", "");
execution.setVariable("contractNumber", "");
execution.setVariable("firstContactNumber", "");
execution.setVariable("secondContactNumber", "");
execution.setVariable("customerId", "");
execution.setVariable("customerGroup", "");
execution.setVariable("customerCategory", "");
execution.setVariable("accountNo", "");
execution.setVariable("postalCode", "");
execution.setVariable("postalArea", "");
execution.setVariable("languageCode", "1");
execution.setVariable("accountCategory", "");
execution.setVariable("custPhone1", "");
execution.setVariable("billFname","");
execution.setVariable("billLname","");
execution.setVariable("custAddress1","");
execution.setVariable("custAddress3","");
execution.setVariable("remark","");
execution.setVariable("titleCj","");
execution.setVariable("billMinit","");
execution.setVariable("billTitle","");
execution.setVariable("arTiltleCj","");
execution.setVariable("arBillFnameCj","");
execution.setVariable("arBillMinitCj","");
execution.setVariable("arBillTitleCj","");
execution.setVariable("arBillLnameCj","");
execution.setVariable("salesCode","");
execution.setVariable("customerCategory","");
execution.setVariable("customerContactPhoneNo","");]]></script>
    </scriptTask>
    <scriptTask id="sid-907EA419-4C61-41BE-9518-FCA58514F3C4" name="fill Variables" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[import java.util.logging.Logger;

Logger logger = Logger.getLogger("com.mobinets.FFMS");

String languageCode = ""+ GetCustomerInfoByNumberResponseMessage.response.languageCode;
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;
String custAddress2 = ""+GetCustomerInfoByNumberResponseMessage.response.custAddress2;
String custState = ""+GetCustomerInfoByNumberResponseMessage.response.custState;
String custCity = ""+GetCustomerInfoByNumberResponseMessage.response.custCity;
String custAddress3 = ""+GetCustomerInfoByNumberResponseMessage.response.custAddress3;
String custAddress1 = ""+GetCustomerInfoByNumberResponseMessage.response.custAddress1;
String custZip = ""+GetCustomerInfoByNumberResponseMessage.response.custZip;
String contractNumber = ""+GetCustomerInfoByNumberResponseMessage.response.acctExternalId;
String accountCategory = ""+GetCustomerInfoByNumberResponseMessage.response.accountCategory;
String accountNo = ""+GetCustomerInfoByNumberResponseMessage.response.siAccountNo;
String postalCode = custZip;
String postalArea = ""+GetCustomerInfoByNumberResponseMessage.response.billZip;
String arTiltleCj = ""+GetCustomerInfoByNumberResponseMessage.response.arTiltleCj;
String arBillFnameCj = ""+GetCustomerInfoByNumberResponseMessage.response.arBillFnameCj;
String arBillMinitCj = ""+GetCustomerInfoByNumberResponseMessage.response.arBillMinitCj;
String arBillTitleCj = ""+GetCustomerInfoByNumberResponseMessage.response.arBillTitleCj;
String arBillLnameCj = ""+GetCustomerInfoByNumberResponseMessage.response.arBillLnameCj;
String titleCj = ""+GetCustomerInfoByNumberResponseMessage.response.titleCj;
String billFname = ""+GetCustomerInfoByNumberResponseMessage.response.billFname;
String billMinit = ""+GetCustomerInfoByNumberResponseMessage.response.billMinit;
String billTitle = ""+GetCustomerInfoByNumberResponseMessage.response.billTitle;
String billLname = ""+GetCustomerInfoByNumberResponseMessage.response.billLname;
String remark = ""+GetCustomerInfoByNumberResponseMessage.response.remark;
String salesCode = ""+GetCustomerInfoByNumberResponseMessage.response.salesCode;
String address = custAddress2 +" "+ custState +" "+ custCity +" "+ custAddress3 +" "+ custAddress1 +" "+ custZip;

execution.setVariable("contractNumber",contractNumber);
execution.setVariable("customerGroup"," ");
execution.setVariable("accountCategory",accountCategory);
execution.setVariable("accountNo",accountNo);
execution.setVariable("postalCode",postalCode);
execution.setVariable("postalArea",postalArea);
execution.setVariable("billFname",billFname);
execution.setVariable("billLname",billLname);
execution.setVariable("custAddress1",custAddress1);
execution.setVariable("custAddress3",custAddress3);
execution.setVariable("remark",remark);
execution.setVariable("titleCj",titleCj);
execution.setVariable("billMinit",billMinit);
execution.setVariable("billTitle",billTitle);
execution.setVariable("arTiltleCj",arTiltleCj);
execution.setVariable("arBillFnameCj",arBillFnameCj);
execution.setVariable("arBillMinitCj",arBillMinitCj);
execution.setVariable("arBillTitleCj",arBillTitleCj);
execution.setVariable("arBillLnameCj",arBillLnameCj);
execution.setVariable("salesCode",salesCode);
execution.setVariable("customerCategory","");
execution.setVariable("address", address);

if(languageCode == null || languageCode.equals("") || languageCode.equals("null"))
	execution.setVariable("languageCode", "1");
else
	execution.setVariable("languageCode", languageCode);

if(execution.getVariable("languageCode").equals(11))
execution.setVariable("fullName", arTiltleCj +" "+ arBillFnameCj + " "+ arBillMinitCj + " " + arBillTitleCj +" "+ arBillLnameCj);
else
execution.setVariable("fullName", titleCj+" "+billFname +" "+ billMinit +" "+ billTitle + " "+billLname);

String firstContactNumber = custPhone1;
String secondContactNumber = custPhone2;

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

if(custPhone2== null || custPhone2.equals("") || custPhone2.equals("null"))
	secondContactNumber = siCustPhone2;

execution.setVariable("firstContactNumber",firstContactNumber);
execution.setVariable("secondContactNumber",secondContactNumber);

if(firstContactNumber != null)
	execution.setVariable("customerContactPhoneNo",firstContactNumber);
else
	execution.setVariable("customerContactPhoneNo",secondContactNumber);
	
	
String primaryContanctNO =""; 
String secondaryContanctNO ="";
String installationDate ="";

try {
    if (GetFixedInternetDetailsResponseMessage != null && GetFixedInternetDetailsResponseMessage.response != null) {

        if (GetFixedInternetDetailsResponseMessage.response.externalIdDetails != null && GetFixedInternetDetailsResponseMessage.response.externalIdDetails.item != null) {

            for (item in GetFixedInternetDetailsResponseMessage.response.externalIdDetails.item) {

                println "externalIdTypeBasic = " + item.externalIdType;

               
				if ("381".equalsIgnoreCase(item.externalIdType)) {
                    primaryContanctNO = item.externalId;
                }
				  if ("382".equalsIgnoreCase(item.externalIdType)) {
                    secondaryContanctNO = item.externalId;
                }
				 if ("383".equalsIgnoreCase(item.externalIdType)) {
                    installationDate = item.externalId;
                }
				
				
            }
        }
    }
} catch (Exception e) {
    println "An error occurred: " + e.getMessage();
}





execution.setVariable("installationDate",installationDate);
execution.setVariable("secondaryContanctNO",secondaryContanctNO );
execution.setVariable("primaryContanctNO",primaryContanctNO );	

logger.info ("languageCode " + execution.getVariable("languageCode"));
logger.info ("contact1Phone " + contact1Phone);
logger.info ("contact2Phone " + contact2Phone);
logger.info ("custAddress2 " + custAddress2);
logger.info ("custState " + custState);
logger.info ("custCity " + custCity);
logger.info ("custAddress3 " + custAddress3);
logger.info ("custAddress1 " + custAddress1);
logger.info ("custZip " + custZip);
logger.info ("contractNumber " + contractNumber);
logger.info ("accountCategory " + accountCategory);
logger.info ("accountNo " + accountNo);
logger.info ("postalCode " + postalCode);
logger.info ("postalArea " + postalArea);
logger.info ("arTiltleCj " + arTiltleCj);
logger.info ("arBillFnameCj " + arBillFnameCj);
logger.info ("arBillMinitCj " + arBillMinitCj);
logger.info ("arBillTitleCj " + arBillTitleCj);
logger.info ("arBillLnameCj " + arBillLnameCj);
logger.info ("titleCj " + titleCj);
logger.info ("billFname " + billFname);
logger.info ("billMinit " + billMinit);
logger.info ("billTitle " + billTitle);
logger.info ("billLname " + billLname);
logger.info ("remark " + remark);
logger.info ("salesCode " + salesCode);
logger.info ("address " + address);
logger.info ("custPhone1 " + custPhone1);
logger.info ("custPhone2 " + custPhone2);
logger.info ("siCustPhone2 " + siCustPhone2);
logger.info ("siCustPhone1 " + siCustPhone1);
logger.info ("primaryContanctNO" + primaryContanctNO);
logger.info ("secondaryContanctNO" + secondaryContanctNO);
logger.info ("installationDate" + installationDate);]]></script>
    </scriptTask>
    <exclusiveGateway id="sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2"></exclusiveGateway>
    <scriptTask id="sid-4CE1A51F-ECC6-486B-832E-AC4FD5BE9E58" name="process Response" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[import java.util.logging.Logger
Logger logger = Logger.getLogger("com.mobinets.FFMS")

logger.info ("FFMS CREATE WO Response: " + CreatefieldworkorderReponse)

String response = ""+CreatefieldworkorderReponse;
boolean isOk = response.contains("10000 - Order Save Successfully");
execution.setVariable("isOk", isOk);]]></script>
    </scriptTask>
    <startEvent id="sid-8F5CF079-AE39-4DA8-BA26-28B39DF55656" flowable:formFieldValidation="true"></startEvent>
    <boundaryEvent id="sid-422DCA3C-F1EE-4AAD-A07D-1FD30C3EB599" attachedToRef="sid-717BA73C-E349-4C33-9AF0-359051CD6CFD">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-06BB4C8B-2ECD-4BDC-96E4-CE5DB6977724" sourceRef="sid-09F315CB-FC8A-4550-81EB-10D178B2A6BD" targetRef="sid-6C1DCB5A-34D7-4172-9ACF-104BA8CD5C75"></sequenceFlow>
    <sequenceFlow id="sid-9EF3F6B6-3FCA-463A-9858-ED3C75D496E3" sourceRef="sid-6C1DCB5A-34D7-4172-9ACF-104BA8CD5C75" targetRef="sid-01021CB2-AB8F-40E2-B3B7-B5DDF2882415"></sequenceFlow>
    <callActivity id="sid-CDAAF78E-25C4-4A75-A3E5-AB8C42247FDC" name="arbor_refno_generator" calledElement="arbor_refno_generator" flowable:calledElementType="key" flowable:fallbackToDefaultTenant="false">
      <extensionElements>
        <flowable:out sourceExpression="${ArboRefNo}" target="ArboRefNo"></flowable:out>
      </extensionElements>
    </callActivity>
    <serviceTask id="sid-06A19115-C64D-44C5-956C-8390AEA462BE" name="Sync Create Work Order with FFMS" flowable:class="com.mobinets.nep.client.workflow.rest.RestDelegate">
      <extensionElements>
        <flowable:field name="service">
          <flowable:string><![CDATA[ffmsRestTest]]></flowable:string>
        </flowable:field>
        <flowable:field name="POST">
          <flowable:string><![CDATA[/FPOmantel/api/OMNInstallation/Createfieldworkorder]]></flowable:string>
        </flowable:field>
        <flowable:field name="body">
          <flowable:expression><![CDATA[${body}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="OUT">
          <flowable:string><![CDATA[CreatefieldworkorderReponse]]></flowable:string>
        </flowable:field>
        <flowable:field name="header">
          <flowable:string><![CDATA[Content-Type:application/xml]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-17E7AD48-4550-4CD8-9EA4-35F5B1F0F20C" sourceRef="sid-06A19115-C64D-44C5-956C-8390AEA462BE" targetRef="sid-4CE1A51F-ECC6-486B-832E-AC4FD5BE9E58"></sequenceFlow>
    <sequenceFlow id="sid-D0C7C2D1-2335-49DA-AB53-267FBF0314BC" sourceRef="sid-4AC03504-4BCA-4A90-9134-E56DB53B9A17" targetRef="sid-12492F8D-CCBB-4CD9-937B-FE50DF5851CE"></sequenceFlow>
    <serviceTask id="sid-2A829864-34C9-4787-B179-0D074E046EAA" name="Set Customer Category" flowable:type="dmn">
      <extensionElements>
        <flowable:field name="decisionTableReferenceKey">
          <flowable:string><![CDATA[Customer_Category_Mapping]]></flowable:string>
        </flowable:field>
        <flowable:field name="decisionTaskThrowErrorOnNoHits">
          <flowable:string><![CDATA[false]]></flowable:string>
        </flowable:field>
        <flowable:field name="fallbackToDefaultTenant">
          <flowable:string><![CDATA[false]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-94BFFA47-3E7D-48DF-9C69-2B8D2E91604A" sourceRef="sid-2A829864-34C9-4787-B179-0D074E046EAA" targetRef="sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F"></sequenceFlow>
    <scriptTask id="sid-51042F90-A479-41CF-9591-F7134B5FDA98" name="Set Error" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[execution.setVariable("error_code","1");
execution.setVariable("error_msg","Create Work Order - Sync with FFMS failed");]]></script>
    </scriptTask>
    <exclusiveGateway id="sid-04EE49F6-35BB-42CD-AD15-887466C05435"></exclusiveGateway>
    <endEvent id="sid-468F06AA-3FED-436D-9664-7E58A4E3A624"></endEvent>
    <sequenceFlow id="sid-8AFA39B5-38B3-4831-A8C4-8BE5D4F96111" sourceRef="sid-01021CB2-AB8F-40E2-B3B7-B5DDF2882415" targetRef="sid-06A19115-C64D-44C5-956C-8390AEA462BE"></sequenceFlow>
    <scriptTask id="sid-C9F38727-FDA9-4035-921D-421545F2F7DC" name="set Error" scriptFormat="groovy" flowable:autoStoreVariables="false">
      <script><![CDATA[String response = "" + CreatefieldworkorderReponse;
if(response != null && !response.trim().equalsIgnoreCase("null")){
	execution.setVariable("error_code","1" );
	execution.setVariable("error_msg","FFMS Create Work Order - missing parameters : " + CreatefieldworkorderReponse.Data);
}
else{
      execution.setVariable("error_code","1" );
	execution.setVariable("error_msg","FFMS Create Work Order - No response check for missing parameters values");
}]]></script>
    </scriptTask>
    <sequenceFlow id="sid-5EB7398A-5905-4898-9985-D3CD255D9928" sourceRef="sid-C9F38727-FDA9-4035-921D-421545F2F7DC" targetRef="sid-73BE6D37-F53E-49E9-AA11-38C24C130CAF"></sequenceFlow>
    <sequenceFlow id="sid-F3AEB328-57CA-4077-9497-C8D3AC09FFC2" sourceRef="sid-51042F90-A479-41CF-9591-F7134B5FDA98" targetRef="sid-73BE6D37-F53E-49E9-AA11-38C24C130CAF"></sequenceFlow>
    <sequenceFlow id="sid-42A6BC99-789D-457C-93BE-C307938279A0" sourceRef="sid-CBF923C7-3257-4A63-AD5A-73EF0D01B517" targetRef="sid-51042F90-A479-41CF-9591-F7134B5FDA98"></sequenceFlow>
    <boundaryEvent id="sid-CBF923C7-3257-4A63-AD5A-73EF0D01B517" attachedToRef="sid-06A19115-C64D-44C5-956C-8390AEA462BE">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <endEvent id="sid-73BE6D37-F53E-49E9-AA11-38C24C130CAF"></endEvent>
    <sequenceFlow id="sid-1C7307FD-2479-4D7E-8B66-0C259A920A77" name="OK" sourceRef="sid-04EE49F6-35BB-42CD-AD15-887466C05435" targetRef="sid-468F06AA-3FED-436D-9664-7E58A4E3A624">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${isOk == true}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-288D2AD5-DABE-4D68-BB42-F3FC0CCAFB6B" sourceRef="sid-CDAAF78E-25C4-4A75-A3E5-AB8C42247FDC" targetRef="sid-717BA73C-E349-4C33-9AF0-359051CD6CFD"></sequenceFlow>
    <sequenceFlow id="sid-7436DBF1-39F4-4DFB-9A6E-74C4BA541C58" sourceRef="sid-12492F8D-CCBB-4CD9-937B-FE50DF5851CE" targetRef="sid-09F315CB-FC8A-4550-81EB-10D178B2A6BD"></sequenceFlow>
    <sequenceFlow id="sid-085CF82A-B4CB-4169-974F-F54762314F42" name="not OK" sourceRef="sid-04EE49F6-35BB-42CD-AD15-887466C05435" targetRef="sid-C9F38727-FDA9-4035-921D-421545F2F7DC">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${isOk == false}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-AA079727-5B9F-4AAD-BC89-2D0F41FCC201" sourceRef="sid-4CE1A51F-ECC6-486B-832E-AC4FD5BE9E58" targetRef="sid-04EE49F6-35BB-42CD-AD15-887466C05435"></sequenceFlow>
    <sequenceFlow id="sid-98A33F31-CF03-4737-A0F7-2ACC67F5A438" sourceRef="sid-907EA419-4C61-41BE-9518-FCA58514F3C4" targetRef="sid-2A829864-34C9-4787-B179-0D074E046EAA"></sequenceFlow>
    <sequenceFlow id="sid-1671959E-B3B9-4AED-B271-CE0E148321EB" sourceRef="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F" targetRef="sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F"></sequenceFlow>
    <callActivity id="sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F" name="getSubscriberLineStatus" calledElement="getSubscriberLineStatus" flowable:calledElementType="key" flowable:fallbackToDefaultTenant="false">
      <extensionElements>
        <flowable:in sourceExpression="${fSubno}" target="fSubno"></flowable:in>
        <flowable:in sourceExpression="${ArboRefNo}" target="ArboRefNo"></flowable:in>
        <flowable:out sourceExpression="${lineStatus}" target="lineStatus"></flowable:out>
      </extensionElements>
    </callActivity>
    <sequenceFlow id="sid-12CDB64F-6018-401E-BE9F-49A21FC87A54" sourceRef="sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F" targetRef="sid-4AC03504-4BCA-4A90-9134-E56DB53B9A17"></sequenceFlow>
    <sequenceFlow id="sid-3C412E7E-068B-4E51-B7AF-B74537027084" sourceRef="sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2" targetRef="sid-907EA419-4C61-41BE-9518-FCA58514F3C4">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${GetCustomerInfoByNumberResponseMessage!=null && GetCustomerInfoByNumberResponseMessage.response!=null && GetCustomerInfoByNumberResponseMessage.response.returnCode=='0000'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-329050F2-25B3-422F-92CC-57C1B1949CF0" sourceRef="sid-8F5CF079-AE39-4DA8-BA26-28B39DF55656" targetRef="sid-DDF44E63-1267-413C-A188-A30FEC8B71C0"></sequenceFlow>
    <serviceTask id="sid-DDF44E63-1267-413C-A188-A30FEC8B71C0" name="Check Integration with FFMS" 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[integrateWithFFMS]]></flowable:string>
        </flowable:field>
        <flowable:field name="userID">
          <flowable:expression><![CDATA[${fUserID}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <exclusiveGateway id="sid-D466A645-7398-4303-9389-23B9675661BF" default="sid-AAF6BEE2-002A-451E-A4C3-313FE0C47366"></exclusiveGateway>
    <sequenceFlow id="sid-3EFE2658-7570-47BA-A26A-512C8979C5A8" sourceRef="sid-DDF44E63-1267-413C-A188-A30FEC8B71C0" targetRef="sid-D466A645-7398-4303-9389-23B9675661BF"></sequenceFlow>
    <endEvent id="sid-48E1ECEC-01BC-481B-95E3-81B60B6A7AC5"></endEvent>
    <sequenceFlow id="sid-AAF6BEE2-002A-451E-A4C3-313FE0C47366" name="True" sourceRef="sid-D466A645-7398-4303-9389-23B9675661BF" targetRef="sid-CDAAF78E-25C4-4A75-A3E5-AB8C42247FDC"></sequenceFlow>
    <sequenceFlow id="sid-5F275335-DAD1-4954-A3EC-202E0F2EFAA2" name="False" sourceRef="sid-D466A645-7398-4303-9389-23B9675661BF" targetRef="sid-48E1ECEC-01BC-481B-95E3-81B60B6A7AC5">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${integrateWithFFMSResponse == false}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-504F0976-080C-4895-9860-3E35178F66C9" sourceRef="sid-717BA73C-E349-4C33-9AF0-359051CD6CFD" targetRef="sid-B6AD4AD8-A84C-4691-A00B-A3E76995B117"></sequenceFlow>
    <serviceTask id="sid-B6AD4AD8-A84C-4691-A00B-A3E76995B117" name="Get Fixed Internet Details from Arbor" 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[request.externalId]]></flowable:expression>
        </flowable:field>
        <flowable:field name="oteaiheader.requestorId">
          <flowable:string><![CDATA[NEP]]></flowable:string>
        </flowable:field>
        <flowable:field name="request.referenceNo">
          <flowable:expression><![CDATA[${ArboRefNo}]]></flowable:expression>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="sid-93ABE842-7A2F-4EC2-9B9B-CCB553408311" sourceRef="sid-B6AD4AD8-A84C-4691-A00B-A3E76995B117" targetRef="sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2"></sequenceFlow>
    <boundaryEvent id="sid-5FE12887-805E-48EF-AC18-75870BB48146">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-CAB07DA5-33CB-4809-A336-5083DA0363B5" sourceRef="sid-422DCA3C-F1EE-4AAD-A07D-1FD30C3EB599" targetRef="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F"></sequenceFlow>
    <sequenceFlow id="sid-31E1794B-4F6A-4889-A4A9-97ADF4CA2EBE" sourceRef="sid-5FE12887-805E-48EF-AC18-75870BB48146" targetRef="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F"></sequenceFlow>
    <sequenceFlow id="sid-34585EFB-B7B8-47B9-94EE-2E87F596FFA4" sourceRef="sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2" targetRef="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${GetCustomerInfoByNumberResponseMessage==null || GetCustomerInfoByNumberResponseMessage.response==null  || GetCustomerInfoByNumberResponseMessage.response.returnCode!='0000'}]]></conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_FFMSCreateWorkOrderwithparameters_Manually">
    <bpmndi:BPMNPlane bpmnElement="FFMSCreateWorkOrderwithparameters_Manually" id="BPMNPlane_FFMSCreateWorkOrderwithparameters_Manually">
      <bpmndi:BPMNShape bpmnElement="sid-01021CB2-AB8F-40E2-B3B7-B5DDF2882415" id="BPMNShape_sid-01021CB2-AB8F-40E2-B3B7-B5DDF2882415">
        <omgdc:Bounds height="80.0" width="100.0" x="1370.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-12492F8D-CCBB-4CD9-937B-FE50DF5851CE" id="BPMNShape_sid-12492F8D-CCBB-4CD9-937B-FE50DF5851CE">
        <omgdc:Bounds height="79.99999999999997" width="100.0" x="1780.0000000000002" y="195.00000000000003"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4AC03504-4BCA-4A90-9134-E56DB53B9A17" id="BPMNShape_sid-4AC03504-4BCA-4A90-9134-E56DB53B9A17">
        <omgdc:Bounds height="79.99999999999994" width="100.0" x="1630.0" y="195.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-09F315CB-FC8A-4550-81EB-10D178B2A6BD" id="BPMNShape_sid-09F315CB-FC8A-4550-81EB-10D178B2A6BD">
        <omgdc:Bounds height="80.0" width="100.0" x="1780.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-6C1DCB5A-34D7-4172-9ACF-104BA8CD5C75" id="BPMNShape_sid-6C1DCB5A-34D7-4172-9ACF-104BA8CD5C75">
        <omgdc:Bounds height="80.0" width="100.0" x="1645.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-717BA73C-E349-4C33-9AF0-359051CD6CFD" id="BPMNShape_sid-717BA73C-E349-4C33-9AF0-359051CD6CFD">
        <omgdc:Bounds height="86.99999999999994" width="107.0" x="685.5" y="191.50000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F" id="BPMNShape_sid-7C49D2CD-1DCF-4CDA-B3A8-67DFA757D69F">
        <omgdc:Bounds height="80.0" width="100.0" x="935.0" y="75.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-907EA419-4C61-41BE-9518-FCA58514F3C4" id="BPMNShape_sid-907EA419-4C61-41BE-9518-FCA58514F3C4">
        <omgdc:Bounds height="80.00000000000006" width="100.0" x="1055.0" y="194.99999999999994"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2" id="BPMNShape_sid-159BC60C-1F1C-4B27-A759-95C72B82C9F2">
        <omgdc:Bounds height="40.0" width="40.0" x="965.0" y="215.00000000000003"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4CE1A51F-ECC6-486B-832E-AC4FD5BE9E58" id="BPMNShape_sid-4CE1A51F-ECC6-486B-832E-AC4FD5BE9E58">
        <omgdc:Bounds height="80.0" width="100.0" x="935.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8F5CF079-AE39-4DA8-BA26-28B39DF55656" id="BPMNShape_sid-8F5CF079-AE39-4DA8-BA26-28B39DF55656">
        <omgdc:Bounds height="30.0" width="30.0" x="225.0" y="220.00000000000003"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-422DCA3C-F1EE-4AAD-A07D-1FD30C3EB599" id="BPMNShape_sid-422DCA3C-F1EE-4AAD-A07D-1FD30C3EB599">
        <omgdc:Bounds height="30.0" width="30.0" x="723.5" y="175.50000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-CDAAF78E-25C4-4A75-A3E5-AB8C42247FDC" id="BPMNShape_sid-CDAAF78E-25C4-4A75-A3E5-AB8C42247FDC">
        <omgdc:Bounds height="80.00000000000003" width="100.0" x="555.0" y="194.99999999999997"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-06A19115-C64D-44C5-956C-8390AEA462BE" id="BPMNShape_sid-06A19115-C64D-44C5-956C-8390AEA462BE">
        <omgdc:Bounds height="80.0" width="100.0" x="1085.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-2A829864-34C9-4787-B179-0D074E046EAA" id="BPMNShape_sid-2A829864-34C9-4787-B179-0D074E046EAA">
        <omgdc:Bounds height="80.0" width="100.0" x="1175.0" y="195.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-51042F90-A479-41CF-9591-F7134B5FDA98" id="BPMNShape_sid-51042F90-A479-41CF-9591-F7134B5FDA98">
        <omgdc:Bounds height="80.0" width="100.0" x="1093.7002220538202" y="480.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-04EE49F6-35BB-42CD-AD15-887466C05435" id="BPMNShape_sid-04EE49F6-35BB-42CD-AD15-887466C05435">
        <omgdc:Bounds height="40.0" width="40.0" x="830.0" y="350.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-468F06AA-3FED-436D-9664-7E58A4E3A624" id="BPMNShape_sid-468F06AA-3FED-436D-9664-7E58A4E3A624">
        <omgdc:Bounds height="28.0" width="28.0" x="725.0" y="356.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-C9F38727-FDA9-4035-921D-421545F2F7DC" id="BPMNShape_sid-C9F38727-FDA9-4035-921D-421545F2F7DC">
        <omgdc:Bounds height="80.0" width="100.0" x="795.0" y="450.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-CBF923C7-3257-4A63-AD5A-73EF0D01B517" id="BPMNShape_sid-CBF923C7-3257-4A63-AD5A-73EF0D01B517">
        <omgdc:Bounds height="30.0" width="30.0" x="1129.219512195122" y="395.9756097560976"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-73BE6D37-F53E-49E9-AA11-38C24C130CAF" id="BPMNShape_sid-73BE6D37-F53E-49E9-AA11-38C24C130CAF">
        <omgdc:Bounds height="28.0" width="28.0" x="1129.7002220538202" y="756.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F" id="BPMNShape_sid-21E1C0B4-7014-4DD1-A1BD-34DBB9CC1D1F">
        <omgdc:Bounds height="80.00000000000006" width="100.0" x="1355.0" y="194.99999999999994"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-DDF44E63-1267-413C-A188-A30FEC8B71C0" id="BPMNShape_sid-DDF44E63-1267-413C-A188-A30FEC8B71C0">
        <omgdc:Bounds height="86.99999999999994" width="107.0" x="315.0" y="191.50000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-D466A645-7398-4303-9389-23B9675661BF" id="BPMNShape_sid-D466A645-7398-4303-9389-23B9675661BF">
        <omgdc:Bounds height="40.0" width="40.0" x="465.0" y="214.99999999999997"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-48E1ECEC-01BC-481B-95E3-81B60B6A7AC5" id="BPMNShape_sid-48E1ECEC-01BC-481B-95E3-81B60B6A7AC5">
        <omgdc:Bounds height="28.0" width="28.0" x="471.0" y="358.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B6AD4AD8-A84C-4691-A00B-A3E76995B117" id="BPMNShape_sid-B6AD4AD8-A84C-4691-A00B-A3E76995B117">
        <omgdc:Bounds height="79.99999999999994" width="100.0" x="837.5" y="195.00000000000006"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-5FE12887-805E-48EF-AC18-75870BB48146" id="BPMNShape_sid-5FE12887-805E-48EF-AC18-75870BB48146">
        <omgdc:Bounds height="30.0" width="30.0" x="878.8012865485816" y="179.39170890914082"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-34585EFB-B7B8-47B9-94EE-2E87F596FFA4" id="BPMNEdge_sid-34585EFB-B7B8-47B9-94EE-2E87F596FFA4">
        <omgdi:waypoint x="985.0" y="215.00000000000003"></omgdi:waypoint>
        <omgdi:waypoint x="985.0" y="154.95"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-288D2AD5-DABE-4D68-BB42-F3FC0CCAFB6B" id="BPMNEdge_sid-288D2AD5-DABE-4D68-BB42-F3FC0CCAFB6B">
        <omgdi:waypoint x="654.9499999999997" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="685.5" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-42A6BC99-789D-457C-93BE-C307938279A0" id="BPMNEdge_sid-42A6BC99-789D-457C-93BE-C307938279A0">
        <omgdi:waypoint x="1144.1480670294056" y="425.9254437542572"></omgdi:waypoint>
        <omgdi:waypoint x="1143.8905064580586" y="480.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-17E7AD48-4550-4CD8-9EA4-35F5B1F0F20C" id="BPMNEdge_sid-17E7AD48-4550-4CD8-9EA4-35F5B1F0F20C">
        <omgdi:waypoint x="1085.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="1034.95" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1C7307FD-2479-4D7E-8B66-0C259A920A77" id="BPMNEdge_sid-1C7307FD-2479-4D7E-8B66-0C259A920A77">
        <omgdi:waypoint x="830.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="752.9499316054676" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F3AEB328-57CA-4077-9497-C8D3AC09FFC2" id="BPMNEdge_sid-F3AEB328-57CA-4077-9497-C8D3AC09FFC2">
        <omgdi:waypoint x="1143.7002220538202" y="559.95"></omgdi:waypoint>
        <omgdi:waypoint x="1143.7002220538202" y="756.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-AA079727-5B9F-4AAD-BC89-2D0F41FCC201" id="BPMNEdge_sid-AA079727-5B9F-4AAD-BC89-2D0F41FCC201">
        <omgdi:waypoint x="935.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="869.9073573017049" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-CAB07DA5-33CB-4809-A336-5083DA0363B5" id="BPMNEdge_sid-CAB07DA5-33CB-4809-A336-5083DA0363B5">
        <omgdi:waypoint x="738.5" y="175.50000000000006"></omgdi:waypoint>
        <omgdi:waypoint x="738.5" y="41.0"></omgdi:waypoint>
        <omgdi:waypoint x="999.892578125" y="41.0"></omgdi:waypoint>
        <omgdi:waypoint x="999.892578125" y="75.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1671959E-B3B9-4AED-B271-CE0E148321EB" id="BPMNEdge_sid-1671959E-B3B9-4AED-B271-CE0E148321EB">
        <omgdi:waypoint x="1034.95" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="1405.0" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="1405.0" y="194.99999999999994"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-504F0976-080C-4895-9860-3E35178F66C9" id="BPMNEdge_sid-504F0976-080C-4895-9860-3E35178F66C9">
        <omgdi:waypoint x="792.4499999999542" y="235.00000000000003"></omgdi:waypoint>
        <omgdi:waypoint x="837.5" y="235.00000000000003"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-06BB4C8B-2ECD-4BDC-96E4-CE5DB6977724" id="BPMNEdge_sid-06BB4C8B-2ECD-4BDC-96E4-CE5DB6977724">
        <omgdi:waypoint x="1780.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="1744.95" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D0C7C2D1-2335-49DA-AB53-267FBF0314BC" id="BPMNEdge_sid-D0C7C2D1-2335-49DA-AB53-267FBF0314BC">
        <omgdi:waypoint x="1729.95" y="234.99999999999997"></omgdi:waypoint>
        <omgdi:waypoint x="1779.999999999965" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-9EF3F6B6-3FCA-463A-9858-ED3C75D496E3" id="BPMNEdge_sid-9EF3F6B6-3FCA-463A-9858-ED3C75D496E3">
        <omgdi:waypoint x="1645.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="1469.95" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-93ABE842-7A2F-4EC2-9B9B-CCB553408311" id="BPMNEdge_sid-93ABE842-7A2F-4EC2-9B9B-CCB553408311">
        <omgdi:waypoint x="937.4499999999999" y="235.00000000000006"></omgdi:waypoint>
        <omgdi:waypoint x="965.0" y="235.00000000000006"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-3EFE2658-7570-47BA-A26A-512C8979C5A8" id="BPMNEdge_sid-3EFE2658-7570-47BA-A26A-512C8979C5A8">
        <omgdi:waypoint x="421.95000000000005" y="235.00000000000003"></omgdi:waypoint>
        <omgdi:waypoint x="465.0" y="234.99999999999997"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-7436DBF1-39F4-4DFB-9A6E-74C4BA541C58" id="BPMNEdge_sid-7436DBF1-39F4-4DFB-9A6E-74C4BA541C58">
        <omgdi:waypoint x="1830.0000000000002" y="274.95000000000005"></omgdi:waypoint>
        <omgdi:waypoint x="1830.0" y="330.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-8AFA39B5-38B3-4831-A8C4-8BE5D4F96111" id="BPMNEdge_sid-8AFA39B5-38B3-4831-A8C4-8BE5D4F96111">
        <omgdi:waypoint x="1369.999999999882" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="1184.9499999997452" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-31E1794B-4F6A-4889-A4A9-97ADF4CA2EBE" id="BPMNEdge_sid-31E1794B-4F6A-4889-A4A9-97ADF4CA2EBE">
        <omgdi:waypoint x="893.8012865485816" y="179.39170890914082"></omgdi:waypoint>
        <omgdi:waypoint x="893.8012865485816" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="934.9999999999899" y="115.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-5EB7398A-5905-4898-9985-D3CD255D9928" id="BPMNEdge_sid-5EB7398A-5905-4898-9985-D3CD255D9928">
        <omgdi:waypoint x="845.0" y="529.95"></omgdi:waypoint>
        <omgdi:waypoint x="845.0" y="770.0"></omgdi:waypoint>
        <omgdi:waypoint x="1129.7002220538202" y="770.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-12CDB64F-6018-401E-BE9F-49A21FC87A54" id="BPMNEdge_sid-12CDB64F-6018-401E-BE9F-49A21FC87A54">
        <omgdi:waypoint x="1454.95" y="234.99999999999997"></omgdi:waypoint>
        <omgdi:waypoint x="1630.0" y="234.99999999999997"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-5F275335-DAD1-4954-A3EC-202E0F2EFAA2" id="BPMNEdge_sid-5F275335-DAD1-4954-A3EC-202E0F2EFAA2">
        <omgdi:waypoint x="485.43014705882354" y="254.51265613519467"></omgdi:waypoint>
        <omgdi:waypoint x="485.0510985638508" y="358.0000924146141"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-085CF82A-B4CB-4169-974F-F54762314F42" id="BPMNEdge_sid-085CF82A-B4CB-4169-974F-F54762314F42">
        <omgdi:waypoint x="850.0" y="389.9300898203593"></omgdi:waypoint>
        <omgdi:waypoint x="850.0" y="420.0"></omgdi:waypoint>
        <omgdi:waypoint x="845.0" y="420.0"></omgdi:waypoint>
        <omgdi:waypoint x="845.0" y="450.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-98A33F31-CF03-4737-A0F7-2ACC67F5A438" id="BPMNEdge_sid-98A33F31-CF03-4737-A0F7-2ACC67F5A438">
        <omgdi:waypoint x="1154.95" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="1175.0" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-AAF6BEE2-002A-451E-A4C3-313FE0C47366" id="BPMNEdge_sid-AAF6BEE2-002A-451E-A4C3-313FE0C47366">
        <omgdi:waypoint x="504.52159949622165" y="235.42016806722688"></omgdi:waypoint>
        <omgdi:waypoint x="554.9999999999894" y="235.20899581589956"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-329050F2-25B3-422F-92CC-57C1B1949CF0" id="BPMNEdge_sid-329050F2-25B3-422F-92CC-57C1B1949CF0">
        <omgdi:waypoint x="254.9499988933094" y="235.00000000000003"></omgdi:waypoint>
        <omgdi:waypoint x="315.0" y="235.00000000000003"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-94BFFA47-3E7D-48DF-9C69-2B8D2E91604A" id="BPMNEdge_sid-94BFFA47-3E7D-48DF-9C69-2B8D2E91604A">
        <omgdi:waypoint x="1274.9499999999714" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="1355.0" y="234.99999999999997"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-3C412E7E-068B-4E51-B7AF-B74537027084" id="BPMNEdge_sid-3C412E7E-068B-4E51-B7AF-B74537027084">
        <omgdi:waypoint x="985.0" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="1054.999999999921" y="234.99999999999997"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>