<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="DeassignShipRequestFromBox.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="MaterialPackingStockInImpl" partnerLinkType="bean:MaterialPackingStockInImpl" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="MaterialShipRequestDetailServiceImpl" partnerLinkType="bean:MaterialShipRequestDetailServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
        <partnerLink name="MaterialShipRequestServiceImpl" partnerLinkType="bean:MaterialShipRequestServiceImpl" />
        <partnerLink name="ERPInterfaceServiceImpl" partnerLinkType="bean:ERPInterfaceServiceImpl" />
        <partnerLink name="XmlUtil" partnerLinkType="bean:XmlUtil" />
    </partnerLinks>
    <variables>
        <variable name="00" messageType="java.lang.String"></variable>
        <variable name="assignedBoxCount" messageType="int"></variable>
        <variable name="boxList" messageType="java.util.List"></variable>
        <variable name="boxName" messageType="org.jdom.Element"></variable>
        <variable name="boxQty" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Body/MATERIALCREATEQUANTITY')" />
        <variable name="Deassign" messageType="java.lang.String"></variable>
        <variable name="DeassignShipRequestFromBox" messageType="org.jdom.Document"></variable>
        <variable name="deliveryType" messageType="java.lang.String"></variable>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Header/EVENTUSER')" />
        <variable name="FABSender" messageType="java.lang.String"></variable>
        <variable name="Language" messageType="java.lang.String"></variable>
        <variable name="materialPacking" messageType="com.cim.idm.wmspackage.materialpacking.management.data.MaterialPacking"></variable>
        <variable name="materialPackingName" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Body/MATERIALPACKINGNAME')" />
        <variable name="messageName" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Header/MESSAGENAME')" />
        <variable name="MESSender" messageType="java.lang.String"></variable>
        <variable name="packingName" messageType="java.lang.String"></variable>
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="shipRequest" messageType="com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest"></variable>
        <variable name="shipRequestDetailName" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Body/SHIPREQUESTDETAILNAME')" />
        <variable name="shipRequestDetailType" messageType="java.lang.String"></variable>
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Body/SHIPREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('DeassignShipRequestFromBox', '//Message/Body/SITENAME')" />
        <variable name="toMESMessage" messageType="org.jdom.Document"></variable>
        <variable name="validateMessage" messageType="java.lang.String"></variable>
    </variables>
    <sequence>
        <receive name="DeassignShipRequestFromBox" bounds="1235,30,149,62">
            <input variable="DeassignShipRequestFromBox" type="org.jdom.Document" />
        </receive>
        <expression name="expression" type="expression" bounds="1239,122,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('boxList', getElementList('DeassignShipRequestFromBox','//MATERIALPACKINGNAME'))" />
        </expression>
        <invoke name="MaterialPackingStockInImpl checkBoxState" type="invokebean" description="public void checkBoxState(java.util.List materialPackingNameList, java.lang.String flag, java.lang.String siteName)" bounds="1239,217,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="checkBoxState" operationDesc="public void checkBoxState(java.util.List materialPackingNameList, java.lang.String flag, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="boxList" type="java.util.List" />
            <input constant="Design" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1239,352,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="1239,487,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input constant="action_exceptAction" type="java.lang.String" />
            <input variable="messageName" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input variable="eventComment" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl updateMaterialPackingShipRequest" type="invokebean" description="public void updateMaterialPackingShipRequest(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingNameList, java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String flag)" bounds="1239,622,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="updateMaterialPackingShipRequest" operationDesc="public void updateMaterialPackingShipRequest(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingNameList, java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String flag)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="boxList" type="java.util.List" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
            <input constant="Deassign" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialShipRequestDetailServiceImpl updateShipRequestDetailAssignedQty" type="invokebean" description="public void updateShipRequestDetailAssignedQty(java.lang.String siteName, java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String boxQty, java.lang.String flag)" bounds="1239,757,141,105" partnerLink="MaterialShipRequestDetailServiceImpl" partnerLinkType="MaterialShipRequestDetailServiceImpl" operation="updateShipRequestDetailAssignedQty" operationDesc="public void updateShipRequestDetailAssignedQty(java.lang.String siteName, java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String boxQty, java.lang.String flag)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
            <input variable="boxQty" type="java.lang.String" />
            <input constant="Deassign" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl updateDeassignFifoFlag" type="invokebean" description="public void updateDeassignFifoFlag(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingNameList)" bounds="987,828,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="updateDeassignFifoFlag" operationDesc="public void updateDeassignFifoFlag(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingNameList)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="boxList" type="java.util.List" />
        </invoke>
        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" bounds="1239,892,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replysubjectname" type="java.lang.String" />
            <input variable="DeassignShipRequestFromBox" type="org.jdom.Document" />
            <input variable="returnElement" type="org.jdom.Element" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="1239,1027,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="MaterialShipRequestServiceImpl getShipRequest" type="invokebean" description="public com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest getShipRequest(java.lang.String siteName, java.lang.String invoiceNo)" bounds="1239,1162,141,105" partnerLink="MaterialShipRequestServiceImpl" partnerLinkType="MaterialShipRequestServiceImpl" operation="getShipRequest" operationDesc="public com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest getShipRequest(java.lang.String siteName, java.lang.String invoiceNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="shipRequestName" type="java.lang.String" />
            <output variable="shipRequest" />
        </invoke>
        <expression name="expression" type="expression" bounds="1239,1297,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('deliveryType',getField('shipRequest','deliveryType'))" />
            <function value="setVariable('shipRequestDetailType',getField('shipRequest','shipRequestDetailType'))" />
        </expression>
        <switch name="switch" bounds="1293,1392,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="1254,1471,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('deliveryType') = 'Reserve'" bounds="1004,1550,60,52">
                <source idx="0" terminal="5,A" />
                <invoke name="ERPInterfaceServiceImpl queryAssignedBoxCount" type="invokebean" description="public int queryAssignedBoxCount(java.lang.String siteName, java.lang.String shipRequestName)" bounds="964,1632,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="queryAssignedBoxCount" operationDesc="public int queryAssignedBoxCount(java.lang.String siteName, java.lang.String shipRequestName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="shipRequestName" type="java.lang.String" />
                    <output variable="assignedBoxCount" />
                </invoke>
                <switch name="switch" bounds="1018,1767,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="979,1846,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getVariable('assignedBoxCount') = 0" bounds="626,1925,60,60">
                        <source idx="0" terminal="5,A" />
                        <invoke name="MaterialShipRequestServiceImpl updateSpecialReserve" type="invokebean" description="public void updateSpecialReserve(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String invoiceNo, java.lang.String shipRequestState, java.lang.String specialFlag, java.lang.String specialComment)" bounds="760,1947,141,105" partnerLink="MaterialShipRequestServiceImpl" partnerLinkType="MaterialShipRequestServiceImpl" operation="updateSpecialReserve" operationDesc="public void updateSpecialReserve(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String invoiceNo, java.lang.String shipRequestState, java.lang.String specialFlag, java.lang.String specialComment)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="shipRequestName" type="java.lang.String" />
                            <input constant="Reserved" type="java.lang.String" />
                            <input constant="" type="java.lang.String" />
                            <input constant="" type="java.lang.String" />
                        </invoke>
                        <switch name="switch" bounds="640,2015,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="601,2094,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('siteName') = 'B11'&#xA; or getVariable('siteName') = 'B4'&#xA; or getVariable('siteName') = 'B2'&#xA; or getVariable('siteName') = 'B5'&#xA; or getVariable('siteName') = 'BMOT'&#xA; or getVariable('siteName') = 'B7'" bounds="114,2173,60,46">
                                <source idx="0" terminal="5,A" />
                                <invoke name="ERPInterfaceServiceImpl sendAssignInfo" type="invokebean" description="public static java.util.List sendAssignInfo(java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String shipRequestName, java.lang.String jpFlag)" bounds="74,2249,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="sendAssignInfo" operationDesc="public static java.util.List sendAssignInfo(java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String shipRequestName, java.lang.String jpFlag)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="siteName" type="java.lang.String" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input constant="" type="java.lang.String" />
                                    <input constant="" type="java.lang.String" />
                                    <input variable="shipRequestName" type="java.lang.String" />
                                    <input constant="00" type="java.lang.String" />
                                </invoke>
                            </case>
                            <case name="case" type="case" condition="getVariable('siteName') = 'B1'" bounds="394,2173,60,53">
                                <source idx="0" terminal="5,A" />
                                <switch name="switch" bounds="408,2256,33,33" type="switch">
                                    <source idx="0" terminal="5,A" />
                                    <switchstart name="switchstart" type="switchstart" bounds="369,2335,110,49">
                                        <source idx="0" terminal="5,A" />
                                    </switchstart>
                                    <case name="case" type="case" condition="getVariable('shipRequestDetailType')='ZDLF'&#xD;&#xA; or getVariable('shipRequestDetailType')='NLCC'&#xD;&#xA; or getVariable('shipRequestDetailType')='ZELF'" bounds="305,2414,60,48">
                                        <source idx="0" terminal="5,A" />
                                        <invoke name="ERPInterfaceServiceImpl sendAssignInfo" type="invokebean" description="public static java.util.List sendAssignInfo(java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String shipRequestName, java.lang.String jpFlag)" bounds="265,2492,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="sendAssignInfo" operationDesc="public static java.util.List sendAssignInfo(java.lang.String siteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String shipRequestName, java.lang.String jpFlag)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="siteName" type="java.lang.String" />
                                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                            <input constant="" type="java.lang.String" />
                                            <input constant="" type="java.lang.String" />
                                            <input variable="shipRequestName" type="java.lang.String" />
                                            <input constant="00" type="java.lang.String" />
                                        </invoke>
                                    </case>
                                    <otherwise name="otherwise" type="otherwise" bounds="470,2414,88,52">
                                        <source idx="0" terminal="5,A" />
                                    </otherwise>
                                    <switchend name="switchend" type="switchend" bounds="369,2617,110,49">
                                        <source idx="0" terminal="5,A" />
                                        <source idx="1" terminal="5,A" />
                                    </switchend>
                                </switch>
                            </case>
                            <case name="case" type="case" condition="getVariable('siteName') = 'B20'" bounds="859,2173,60,50">
                                <source idx="0" terminal="5,A" />
                                <switch name="switch" bounds="873,2253,33,33" type="switch">
                                    <source idx="0" terminal="5,A" />
                                    <switchstart name="switchstart" type="switchstart" bounds="834,2332,110,49">
                                        <source idx="0" terminal="5,A" />
                                    </switchstart>
                                    <case name="case" type="case" condition="getField(getVariable('shipRequest'), 'customerNO')='MDL'" bounds="668,2411,60,54">
                                        <source idx="0" terminal="5,A" />
                                        <invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="628,2495,141,105" partnerLink="XmlUtil" partnerLinkType="XmlUtil" operation="clone" operationDesc="public org.jdom.Document clone(org.jdom.Document doc)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="DeassignShipRequestFromBox" type="org.jdom.Document" />
                                            <output variable="toMESMessage" />
                                        </invoke>
                                        <expression name="expression" type="expression" bounds="628,2630,141,65">
                                            <source idx="0" terminal="5,A" />
                                            <function value="setXmlData('toMESMessage','/Message/Header/MESSAGENAME','CallMaterialStartCancel')" />
                                            <function value="removeElement('toMESMessage','/Message/Body')" />
                                            <function value="addChildNode('toMESMessage','/Message',createNode('Body',''))" />
                                            <function value="addElement('toMESMessage','/Message/Body','SHIPREQUESTNAME',getVariable('shipRequestName'))" />
                                        </expression>
                                        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" bounds="628,2725,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="toMESMessage" type="org.jdom.Document" />
                                            <input constant="MESSender" type="java.lang.String" />
                                        </invoke>
                                    </case>
                                    <case name="case" type="case" condition="getField(getVariable('shipRequest'), 'customerNO')='FAB'" bounds="859,2411,60,64">
                                        <source idx="0" terminal="5,A" />
                                        <invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="819,2505,141,105" partnerLink="XmlUtil" partnerLinkType="XmlUtil" operation="clone" operationDesc="public org.jdom.Document clone(org.jdom.Document doc)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="DeassignShipRequestFromBox" type="org.jdom.Document" />
                                            <output variable="toMESMessage" />
                                        </invoke>
                                        <expression name="expression" type="expression" bounds="819,2640,141,65">
                                            <source idx="0" terminal="5,A" />
                                            <function value="setXmlData('toMESMessage','/Message/Header/MESSAGENAME','CallMaterialStartCancel')" />
                                            <function value="removeElement('toMESMessage','/Message/Body')" />
                                            <function value="addChildNode('toMESMessage','/Message',createNode('Body',''))" />
                                            <function value="addElement('toMESMessage','/Message/Body','SHIPREQUESTNAME',getVariable('shipRequestName'))" />
                                        </expression>
                                        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" bounds="819,2735,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="toMESMessage" type="org.jdom.Document" />
                                            <input constant="FABSender" type="java.lang.String" />
                                        </invoke>
                                    </case>
                                    <otherwise name="otherwise" type="otherwise" bounds="1024,2411,88,58">
                                        <source idx="0" terminal="5,A" />
                                    </otherwise>
                                    <switchend name="switchend" type="switchend" bounds="834,2860,110,49">
                                        <source idx="0" terminal="5,A" />
                                        <source idx="1" terminal="5,A" />
                                        <source idx="2" terminal="5,A">
                                            <BendPoint FirstRelative="-89,364" SecondRelative="90,-28" weight="0.5" />
                                        </source>
                                    </switchend>
                                </switch>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="1196,2173,88,53">
                                <source idx="0" terminal="5,A" />
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="601,2929,110,49">
                                <source idx="0" terminal="5,A">
                                    <BendPoint FirstRelative="99,440" SecondRelative="-413,-136" weight="0.5" />
                                </source>
                                <source idx="1" terminal="5,A" />
                                <source idx="2" terminal="5,A" />
                                <source idx="3" terminal="5,A">
                                    <BendPoint FirstRelative="-165,470" SecondRelative="419,-234" weight="0.5" />
                                    <BendPoint FirstRelative="-296,701" SecondRelative="288,-3" weight="0.5" />
                                </source>
                            </switchend>
                        </switch>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="1368,1925,88,50">
                        <source idx="0" terminal="5,A" />
                    </otherwise>
                    <switchend name="switchend" type="switchend" bounds="601,2998,110,49">
                        <source idx="0" terminal="5,A" />
                        <source idx="1" terminal="5,A">
                            <BendPoint FirstRelative="-56,464" SecondRelative="369,-248" weight="0.5" />
                            <BendPoint FirstRelative="-391,956" SecondRelative="365,-68" weight="0.5" />
                        </source>
                    </switchend>
                </switch>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="1540,1550,88,62">
                <source idx="0" terminal="5,A" />
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="601,3067,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A">
                    <BendPoint FirstRelative="-98,712" SecondRelative="499,-432" weight="0.5" />
                    <BendPoint FirstRelative="-281,1117" SecondRelative="316,-27" weight="0.5" />
                </source>
            </switchend>
        </switch>
        <terminate name="terminate" bounds="586,3146,141,65">
            <source idx="0" terminal="5,A" />
        </terminate>
    </sequence>
</process>

