<?xml version="1.0" encoding="UTF-8"?>
<graph id="0" name="PROCESS">
   <att name="processName" value="loanProcessCompleted"/>
   <att name="targetNamespace" value="http://docs.active-endpoints.com/sample/bpel/loanprocess/2008/02/loanProcessCompleted.bpel"/>
   <att name="enableInstanceCompensation" value="false"/>
   <att name="exitStandardFault" value="false"/>
   <att name="disableSelectionFailure" value="false"/>
   <att name="createXPath" value="false"/>
   <att name="modelVersion" value="3"/>
   <att name="processNamespace" value="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
   <att name="objectId" value="120250918003103149"/>
   <att name="layoutNeeded" value="false"/>
   <att name="processInitiatorSim" value=""/>
   <att name="processInitiatorExec" value=""/>
   <att name="writePortType" value="false"/>
   <node id="1" name="EXTENSION_CONTAINER">
      <att name="ExtensionCount" value="0"/>
      <att name="BPELDocumentation" value=""/>
   </node>
   <att>
      <graph id="2" name="IMPORTS">
         <att name="ImportCount" value="5"/>
         <node id="3" name="IMPORT">
            <att name="ImportLocation" value="../schema/loanRequest.xsd;http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd;http://www.w3.org/2001/XMLSchema"/>
            <att name="ImportNamespace" value="http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd"/>
            <att name="ImportType" value="http://www.w3.org/2001/XMLSchema"/>
            <att name="objectId" value="120250922893703313"/>
         </node>
         <node id="4" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/loanProcess.wsdl;http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120250924457803317"/>
         </node>
         <node id="5" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/loanApproval.wsdl;http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120251342214018541"/>
         </node>
         <node id="6" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/riskAssessment.wsdl;http://docs.active-endpoints.com/sample/wsdl/riskAssessment/2008/02/riskAssessment.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/riskAssessment/2008/02/riskAssessment.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120251935653105637"/>
         </node>
         <node id="7" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/loanMessages.wsdl;http://docs.active-endpoints.com/sample/wsdl/loanMessages/2008/02/loanMessages.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/loanMessages/2008/02/loanMessages.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120266684996803843"/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="8" name="NAMESPACES">
         <att name="NamespaceCount" value="7"/>
         <node id="9" name="NAMESPACE">
            <att name="Prefix" value="xsd"/>
            <att name="Namespace" value="http://www.w3.org/2001/XMLSchema"/>
            <att name="objectId" value="120250918003103175"/>
         </node>
         <node id="10" name="NAMESPACE">
            <att name="Prefix" value="bpel"/>
            <att name="Namespace" value="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
            <att name="objectId" value="120250918003103177"/>
         </node>
         <node id="11" name="NAMESPACE">
            <att name="Prefix" value="loanprocess"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl"/>
            <att name="objectId" value="120250922448403311"/>
         </node>
         <node id="12" name="NAMESPACE">
            <att name="Prefix" value="loan"/>
            <att name="Namespace" value="http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd"/>
            <att name="objectId" value="120250923901503315"/>
         </node>
         <node id="13" name="NAMESPACE">
            <att name="Prefix" value="approvews"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl"/>
            <att name="objectId" value="120251342214018543"/>
         </node>
         <node id="14" name="NAMESPACE">
            <att name="Prefix" value="riskws"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/riskAssessment/2008/02/riskAssessment.wsdl"/>
            <att name="objectId" value="120251935653105639"/>
         </node>
         <node id="15" name="NAMESPACE">
            <att name="Prefix" value="loanmsg"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanMessages/2008/02/loanMessages.wsdl"/>
            <att name="objectId" value="120266685745303901"/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="16" name="PARTNER_LINKS">
         <att name="PartnerLinkCount" value="3"/>
         <node id="17" name="PARTNER_LINK">
            <att name="PartnerLinkName" value="LoanProcess"/>
            <att name="PartnerLinkType" value="loanprocess:LoanProcessLT"/>
            <att name="MyRole" value="loanProcessor"/>
            <att name="visible" value="false,false,false,false,false,"/>
            <att name="objectId" value="120251011289007975"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
         <node id="18" name="PARTNER_LINK">
            <att name="PartnerLinkName" value="LoanApproval"/>
            <att name="PartnerLinkType" value="approvews:LoanApprovalLT"/>
            <att name="PartnerRole" value="approver"/>
            <att name="visible" value="false,false,false,false,false,"/>
            <att name="objectId" value="120251342212518523"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
         <node id="19" name="PARTNER_LINK">
            <att name="PartnerLinkName" value="RiskAssessment"/>
            <att name="PartnerLinkType" value="riskws:RiskAssessmentLT"/>
            <att name="PartnerRole" value="assessor"/>
            <att name="visible" value="false,false,false,false,false,"/>
            <att name="objectId" value="120251935651505619"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="20" name="VARIABLE_CONTAINERS">
         <att name="VariableCount" value="3"/>
         <node id="21" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="creditInformation"/>
            <att name="VariableSpecification" value="Element=loan:loanProcessRequest"/>
            <att name="objectId" value="120251011289007987"/>
         </node>
         <node id="22" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="approval"/>
            <att name="VariableSpecification" value="Element=loan:loanApprovalResponse"/>
            <att name="objectId" value="120251011298407989"/>
         </node>
         <node id="23" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="riskAssessment"/>
            <att name="VariableSpecification" value="Element=loan:riskAssessmentResponse"/>
            <att name="objectId" value="120251935651505631"/>
         </node>
      </graph>
   </att>
   <node id="24" name="CORRELATION_CONTAINERS">
      <att name="CorrSetCount" value="0"/>
   </node>
   <att>
      <graph id="25" name="SCOPE_ACTIVITY">
         <att name="text" value="Process Activities"/>
         <node id="26" name="RECEIVE">
            <att name="objectId" value="120251011298407991"/>
            <att name="location" value="LOC {5,5}"/>
            <att name="size" value="DIM {308,56}"/>
            <att name="name" value="ReceiveCustomerRequestForLoanAmount"/>
            <att name="text" value="Receive request"/>
            <att name="partnerLink" value="LoanProcess"/>
            <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl}LoanProcess"/>
            <att name="operation" value="request"/>
            <att name="createInstance" value="true"/>
            <att name="variable" value="creditInformation"/>
            <att name="attachments" value=""/>
            <att name="fromParts" value="0"/>
         </node>
         <node id="27" name="REPLY">
            <att name="objectId" value="120251011298407993"/>
            <att name="location" value="LOC {363,323}"/>
            <att name="size" value="DIM {216,56}"/>
            <att name="name" value="ReturnApprovalResponse"/>
            <att name="suppressJoin" value="true"/>
            <att name="text" value="Reply request"/>
            <att name="partnerLink" value="LoanProcess"/>
            <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl}LoanProcess"/>
            <att name="operation" value="request"/>
            <att name="variable" value="approval"/>
            <att name="toParts" value="0"/>
         </node>
         <node id="28" name="INVOKE">
            <att name="objectId" value="120251764653103501"/>
            <att name="location" value="LOC {5,217}"/>
            <att name="size" value="DIM {189,56}"/>
            <att name="name" value="InvokeLoanApprover"/>
            <att name="text" value="Invoke approve"/>
            <att name="partnerLink" value="LoanApproval"/>
            <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl}LoanApproval"/>
            <att name="operation" value="approve"/>
            <att name="inputVariable" value="creditInformation"/>
            <att name="outputVariable" value="approval"/>
            <att name="fromParts" value="0"/>
            <att name="toParts" value="0"/>
            <att name="attachments" value=""/>
         </node>
         <node id="29" name="INVOKE">
            <att name="objectId" value="120251935653105633"/>
            <att name="location" value="LOC {363,111}"/>
            <att name="size" value="DIM {184,56}"/>
            <att name="name" value="InvokeRiskAssessor"/>
            <att name="text" value="Invoke check"/>
            <att name="partnerLink" value="RiskAssessment"/>
            <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/riskAssessment/2008/02/riskAssessment.wsdl}RiskAssessment"/>
            <att name="operation" value="check"/>
            <att name="inputVariable" value="creditInformation"/>
            <att name="outputVariable" value="riskAssessment"/>
            <att name="fromParts" value="0"/>
            <att name="toParts" value="0"/>
            <att name="attachments" value=""/>
         </node>
         <att>
            <graph id="30" name="ASSIGN">
               <att name="objectId" value="120251025406208309"/>
               <att name="location" value="LOC {363,217}"/>
               <att name="size" value="DIM {157,56}"/>
               <att name="name" value="AssignApprove"/>
               <att name="suppressJoin" value="true"/>
               <att name="copy" value="1"/>
               <att name="validateVars" value="false"/>
               <node id="31" name="ASSIGN_COPY">
                  <att name="fromLiteral" value="&lt;ns2:loanApprovalResponse xmlns:ns2=&quot;http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd&quot;&gt;&#13;&#10;   &lt;ns2:responseToLoanRequest&gt;approved&lt;/ns2:responseToLoanRequest&gt;&#13;&#10;   &lt;ns2:responseDescription&gt;Your excellent credit has earned you automatic approval for your loan!&lt;/ns2:responseDescription&gt;&#13;&#10;&lt;/ns2:loanApprovalResponse&gt;&#13;&#10;"/>
                  <att name="fromType" value="4"/>
                  <att name="objectId" value="120251996837507309"/>
                  <att name="toVariable" value="approval"/>
                  <att name="ignoreMissingFromData" value="false"/>
               </node>
            </graph>
         </att>
         <att>
            <graph id="32" name="ASSIGN">
               <att name="objectId" value="120252104775012210"/>
               <att name="location" value="LOC {629,217}"/>
               <att name="size" value="DIM {138,56}"/>
               <att name="name" value="AssignDeny"/>
               <att name="copy" value="1"/>
               <att name="validateVars" value="false"/>
               <node id="33" name="ASSIGN_COPY">
                  <att name="fromLiteral" value="&lt;loan:loanApprovalResponse xmlns:loan=&quot;http://schemas.active-endpoints.com/sample/LoanRequest/2008/02/loanRequest.xsd&quot;&gt;&#13;&#10;   &lt;loan:responseToLoanRequest&gt;declined&lt;/loan:responseToLoanRequest&gt;&#13;&#10;   &lt;loan:responseDescription&gt;We regret to inform you that this application falls outside of our credit risk guidelines, and has been declined.&lt;/loan:responseDescription&gt;&#13;&#10;   &lt;loan:rejectionReason&gt;&#13;&#10;      &lt;loan:reason&gt;lowCredit&lt;/loan:reason&gt;&#13;&#10;      &lt;loan:description&gt;low credit score&lt;/loan:description&gt;&#13;&#10;   &lt;/loan:rejectionReason&gt;&#13;&#10;&lt;/loan:loanApprovalResponse&gt;&#13;&#10;"/>
                  <att name="fromType" value="4"/>
                  <att name="objectId" value="120424772714007409"/>
                  <att name="toVariable" value="approval"/>
                  <att name="ignoreMissingFromData" value="false"/>
               </node>
            </graph>
         </att>
      </graph>
   </att>
   <att>
      <graph id="34" name="SCOPE_FAULTHANDLER">
         <att>
            <graph id="35" name="CATCH">
               <att name="catchFaultName" value="approvews:loanProcessFault faultType=1"/>
               <att name="faultVariable" value="error"/>
               <att name="faultVariableText" value="error"/>
               <att name="catchFaultVariableDef" value="Element=loan:errorMessage"/>
               <att name="BPELComment" value=""/>
               <att name="objectId" value="120257848932801865"/>
               <att name="location" value="LOC {5,5}"/>
               <att name="size" value="DIM {220,109}"/>
               <node id="36" name="REPLY">
                  <att name="objectId" value="120257857693701973"/>
                  <att name="location" value="LOC {5,5}"/>
                  <att name="size" value="DIM {208,56}"/>
                  <att name="name" value="ReplyWithApprovalFault"/>
                  <att name="text" value="Reply request"/>
                  <att name="partnerLink" value="LoanProcess"/>
                  <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl}LoanProcess"/>
                  <att name="operation" value="request"/>
                  <att name="faultName" value="loanprocess:unableToHandleRequest"/>
                  <att name="variable" value="error"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
         <att>
            <graph id="37" name="CATCH">
               <att name="catchFaultName" value="riskws:loanProcessFault faultType=1"/>
               <att name="faultVariable" value="error"/>
               <att name="faultVariableText" value="error"/>
               <att name="catchFaultVariableDef" value="Element=loan:errorMessage"/>
               <att name="BPELComment" value=""/>
               <att name="objectId" value="120336923354601814"/>
               <att name="location" value="LOC {275,5}"/>
               <att name="size" value="DIM {240,109}"/>
               <node id="38" name="REPLY">
                  <att name="objectId" value="120336923354601815"/>
                  <att name="location" value="LOC {5,5}"/>
                  <att name="size" value="DIM {226,56}"/>
                  <att name="name" value="ReplyWithAssessmentFault"/>
                  <att name="text" value="Reply request"/>
                  <att name="partnerLink" value="LoanProcess"/>
                  <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl}LoanProcess"/>
                  <att name="operation" value="request"/>
                  <att name="faultName" value="loanprocess:unableToHandleRequest"/>
                  <att name="variable" value="error"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
      </graph>
   </att>
   <node id="39" name="SCOPE_EVENTHANDLER"/>
   <edge id="0" source="26" target="29">
      <att name="text" value="small loan"/>
      <att name="objectId" value="120251962753106833"/>
      <att name="showLabel" value="true"/>
      <att name="linkName" value="receive-to-assess"/>
      <att name="xtnCondition" value="$creditInformation/loan:amountRequested &lt; 10000"/>
      <att name="xtnConditionLang" value="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
   </edge>
   <edge id="1" source="26" target="28">
      <att name="text" value="large loan"/>
      <att name="objectId" value="120251972434306971"/>
      <att name="showLabel" value="true"/>
      <att name="linkName" value="receive-to-approve"/>
      <att name="xtnCondition" value="$creditInformation/loan:amountRequested &gt;= 10000"/>
      <att name="xtnConditionLang" value="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
   </edge>
   <edge id="2" source="28" target="27">
      <att name="objectId" value="120251827670304723"/>
      <att name="linkName" value="L4"/>
   </edge>
   <edge id="3" source="29" target="28">
      <att name="text" value="review"/>
      <att name="objectId" value="120252072273410343"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="3"/>
      <att name="linkName" value="assess-to-approver"/>
      <att name="xtnCondition" value="$riskAssessment/loan:riskAssessment = 'review'"/>
      <att name="xtnConditionLang" value="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
   </edge>
   <edge id="4" source="29" target="30">
      <att name="text" value="low risk"/>
      <att name="objectId" value="120252080332810839"/>
      <att name="showLabel" value="true"/>
      <att name="linkName" value="assess-to-approve"/>
      <att name="xtnCondition" value="$riskAssessment/loan:riskAssessment = 'low'"/>
      <att name="xtnConditionLang" value="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
   </edge>
   <edge id="5" source="29" target="32">
      <att name="text" value="high risk"/>
      <att name="objectId" value="120252122885912474"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="3"/>
      <att name="linkName" value="assess-to-deny"/>
      <att name="xtnCondition" value="$riskAssessment/loan:riskAssessment = 'high'"/>
      <att name="xtnConditionLang" value="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
   </edge>
   <edge id="6" source="30" target="27">
      <att name="objectId" value="120252410417126308"/>
      <att name="linkName" value="L3"/>
   </edge>
   <edge id="7" source="32" target="27">
      <att name="objectId" value="120252126732812572"/>
      <att name="linkName" value="L5"/>
   </edge>
</graph>
