<?xml version="1.0" encoding="UTF-8"?>
<graph id="0" name="PROCESS">
   <att name="processName" value="loanProcessHumanCompleted"/>
   <att name="targetNamespace" value="http://docs.active-endpoints.com/sample/bpel/loanprocess/2008/02/loanProcessHumanCompleted.bpel"/>
   <att name="enableInstanceCompensation" value="false"/>
   <att name="exitStandardFault" value="false"/>
   <att name="disableSelectionFailure" value="false"/>
   <att name="createXPath" value="false"/>
   <att name="WSBPEL_ExtensionElements">
      <extensionElements>
         <ns:humanInteractions xmlns:ext="http://www.example.org/WS-HT" xmlns:ns="http://www.example.org/BPEL4People">
            <ext:logicalPeopleGroups>
               <ext:logicalPeopleGroup name="loanmgrs">
                  <ns:LPGDataSim xmlns:ns="http://active-endpoints.com/simulation/property" xmlns:ext="http://www.example.org/WS-HT">
<ht:organizationalEntity xmlns:ht="http://www.example.org/WS-HT">
	<ht:users>
		<ht:user>loanmgr1</ht:user>
		<ht:user>loanmgr2</ht:user>
	</ht:users>
</ht:organizationalEntity>
</ns:LPGDataSim>
               </ext:logicalPeopleGroup>
               <ext:logicalPeopleGroup name="loanreps">
                  <ns:LPGDataSim xmlns:ns="http://active-endpoints.com/simulation/property" xmlns:ext="http://www.example.org/WS-HT">
<ht:organizationalEntity xmlns:ht="http://www.example.org/WS-HT">
	<ht:users>
		<ht:user>loanmgr1</ht:user>
		<ht:user>loanmgr2</ht:user>
	</ht:users>
</ht:organizationalEntity>
</ns:LPGDataSim>
               </ext:logicalPeopleGroup>
            </ext:logicalPeopleGroups>
            <ext:tasks/>
            <ext:notifications/>
         </ns:humanInteractions>
      </extensionElements>
   </att>
   <att name="modelVersion" value="3"/>
   <att name="processNamespace" value="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
   <att name="objectId" value="120258974832801041"/>
   <att name="layoutNeeded" value="false"/>
   <att name="processInitiatorSim" value=""/>
   <att name="processInitiatorExec" value="anonymous"/>
   <att name="writePortType" value="false"/>
   <att>
      <graph id="1" name="EXTENSION_CONTAINER">
         <att name="ExtensionCount" value="2"/>
         <att name="BPELDocumentation" value=""/>
         <node id="2" name="EXTENSION">
            <att name="BPELDocumentation" value=""/>
            <att name="extensionDetails" value="Namespace=http://www.example.org/BPEL4People mustUnderstand=true"/>
            <att name="objectId" value="120260338531208522"/>
         </node>
         <node id="3" name="EXTENSION">
            <att name="BPELDocumentation" value=""/>
            <att name="extensionDetails" value="Namespace=http://www.example.org/WS-HT mustUnderstand=true"/>
            <att name="objectId" value="120260338531208524"/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="4" name="IMPORTS">
         <att name="ImportCount" value="9"/>
         <node id="5" 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="120258976092101669"/>
         </node>
         <node id="6" 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="120258976092101671"/>
         </node>
         <node id="7" 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="120258976092101674"/>
         </node>
         <node id="8" 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="120258976092101677"/>
         </node>
         <node id="9" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/loanApprovalHuman.wsdl;http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120258980357803508"/>
         </node>
         <node id="10" 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="120259011481204765"/>
         </node>
         <node id="11" name="IMPORT">
            <att name="ImportLocation" value="../wsdl/loanCRM.wsdl;http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
            <att name="ImportNamespace" value="http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl"/>
            <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
            <att name="objectId" value="120412860515606113"/>
         </node>
         <node id="12" name="IMPORT">
            <att name="ImportLocation" value="../xsl-renderings/loan_param2commands.xsl;;http://www.w3.org/1999/XSL/Transform"/>
            <att name="ImportType" value="http://www.w3.org/1999/XSL/Transform"/>
            <att name="objectId" value="120414131454600367"/>
         </node>
         <node id="13" name="IMPORT">
            <att name="ImportLocation" value="../xsl-renderings/loan_taskdetail.xsl;;http://www.w3.org/1999/XSL/Transform"/>
            <att name="ImportType" value="http://www.w3.org/1999/XSL/Transform"/>
            <att name="objectId" value="120414140551500425"/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="14" name="NAMESPACES">
         <att name="NamespaceCount" value="13"/>
         <node id="15" name="NAMESPACE">
            <att name="Prefix" value="xsd"/>
            <att name="Namespace" value="http://www.w3.org/2001/XMLSchema"/>
            <att name="objectId" value="120258974834301067"/>
         </node>
         <node id="16" 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="120258974834301069"/>
         </node>
         <node id="17" 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="120258976092101667"/>
         </node>
         <node id="18" 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="120258976092101666"/>
         </node>
         <node id="19" 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="120258976092101665"/>
         </node>
         <node id="20" 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="120258976092101664"/>
         </node>
         <node id="21" name="NAMESPACE">
            <att name="Prefix" value="htd"/>
            <att name="Namespace" value="http://www.example.org/WS-HT"/>
            <att name="objectId" value="120259027029607217"/>
         </node>
         <node id="22" name="NAMESPACE">
            <att name="Prefix" value="b4p"/>
            <att name="Namespace" value="http://www.example.org/BPEL4People"/>
            <att name="objectId" value="120259027029607219"/>
         </node>
         <node id="23" 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="120266950193705865"/>
         </node>
         <node id="24" name="NAMESPACE">
            <att name="Prefix" value="loanhws"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl"/>
            <att name="objectId" value="120283033935901423"/>
         </node>
         <node id="25" name="NAMESPACE">
            <att name="Prefix" value="ae4b4ptask"/>
            <att name="Namespace" value="http://schemas.active-endpoints.com/b4p/wshumantask/2007/10/aeb4p-task-rt.xsd"/>
            <att name="objectId" value="120283596043706855"/>
         </node>
         <node id="26" name="NAMESPACE">
            <att name="Prefix" value="crmws"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl"/>
            <att name="objectId" value="120412861503106171"/>
         </node>
         <node id="27" name="NAMESPACE">
            <att name="Prefix" value="loanws"/>
            <att name="Namespace" value="http://docs.active-endpoints.com/sample/wsdl/loanprocess/2008/02/loanProcess.wsdl"/>
            <att name="objectId" value="120425454581201049"/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="28" name="PARTNER_LINKS">
         <att name="PartnerLinkCount" value="3"/>
         <node id="29" 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="120258976092101668"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
         <node id="30" 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="120258976092101676"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
         <node id="31" name="PARTNER_LINK">
            <att name="PartnerLinkName" value="LoanCRM"/>
            <att name="PartnerLinkType" value="crmws:LoanCRMLT"/>
            <att name="PartnerRole" value="customerRelationsManagement"/>
            <att name="visible" value="false,false,false,false,false,"/>
            <att name="objectId" value="120260695056229690"/>
            <att name="InitializePartnerRole" value=""/>
         </node>
      </graph>
   </att>
   <att>
      <graph id="32" name="VARIABLE_CONTAINERS">
         <att name="VariableCount" value="5"/>
         <node id="33" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="creditInformation"/>
            <att name="VariableSpecification" value="Element=loan:loanProcessRequest"/>
            <att name="objectId" value="120258976092101670"/>
         </node>
         <node id="34" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="approval"/>
            <att name="VariableSpecification" value="Element=loan:loanApprovalResponse"/>
            <att name="objectId" value="120258976092101672"/>
         </node>
         <node id="35" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="riskAssessment"/>
            <att name="VariableSpecification" value="Element=loan:riskAssessmentResponse"/>
            <att name="objectId" value="120258976092101675"/>
         </node>
         <node id="36" name="VARIABLE_CONTAINER">
            <att name="VariableName" value="approval-task"/>
            <att name="VariableSpecification" value="Element=loan:loanApprovalResponse"/>
            <att name="objectId" value="120406020099207732"/>
         </node>
      </graph>
   </att>
   <node id="37" name="CORRELATION_CONTAINERS">
      <att name="CorrSetCount" value="0"/>
   </node>
   <att>
      <graph id="38" name="SCOPE_ACTIVITY">
         <att name="text" value="Process Activities"/>
         <node id="39" name="RECEIVE">
            <att name="objectId" value="120258976092101648"/>
            <att name="location" value="LOC {240,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>
         <att>
            <graph id="40" name="SEQUENCE">
               <att name="objectId" value="120484321796801369"/>
               <att name="location" value="LOC {136,217}"/>
               <att name="size" value="DIM {280,441}"/>
               <att name="name" value="ReviewActivities"/>
               <att name="gap" value="50"/>
               <att>
                  <graph id="41" name="ASSIGN">
                     <att name="objectId" value="120260332296807028"/>
                     <att name="location" value="LOC {57,2}"/>
                     <att name="size" value="DIM {148,56}"/>
                     <att name="name" value="Acknowledge"/>
                     <att name="suppressJoin" value="true"/>
                     <att name="copy" value="1"/>
                     <att name="validateVars" value="false"/>
                     <node id="42" 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;underReview&lt;/ns2:responseToLoanRequest&gt;&#13;&#10;   &lt;ns2:responseDescription&gt;&lt;/ns2:responseDescription&gt;&#13;&#10;&lt;/ns2:loanApprovalResponse&gt;&#13;&#10;"/>
                        <att name="fromType" value="4"/>
                        <att name="objectId" value="120284678910900367"/>
                        <att name="toVariable" value="approval"/>
                        <att name="ignoreMissingFromData" value="false"/>
                     </node>
                  </graph>
               </att>
               <node id="43" name="REPLY">
                  <att name="objectId" value="120260345335909317"/>
                  <att name="location" value="LOC {10,108}"/>
                  <att name="size" value="DIM {241,56}"/>
                  <att name="name" value="ReturnUnderReviewResponse"/>
                  <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="44" name="EXTENSION_ACTIVITY">
                  <att name="extensionActivityId" value="com.activee.bpel4peopleep.activities.peopleActivity"/>
                  <att name="objectId" value="120259027006207211"/>
                  <att name="drawBorder" value="false"/>
                  <att name="borderColor" value="RGB {0,0,255}"/>
                  <att name="transparent" value="true"/>
                  <att name="backgroundColor" value="RGB {226,226,226}"/>
                  <att name="font" value="FONT {Tahoma,8,0}"/>
                  <att name="fontColor" value="RGB {0,0,0}"/>
                  <att name="imageDisplay" value="true"/>
                  <att name="imageLocation" value="icons/activity/large/peopleActivityLarge.png"/>
                  <att name="scaleImage" value="false"/>
                  <att name="imageTextGap" value="4"/>
                  <att name="textAlignment" value="1"/>
                  <att name="textPlacement" value="16"/>
                  <att name="location" value="LOC {60,214}"/>
                  <att name="sizeToFit" value="true"/>
                  <att name="size" value="DIM {141,56}"/>
                  <att name="name" value="ReviewLoan"/>
                  <att name="joinCondition" value=""/>
                  <att name="joinConditionLang" value=""/>
                  <att name="suppressJoin" value=""/>
                  <att name="BPELComment" value=""/>
                  <att name="textFormat" value="1"/>
                  <att name="text" value=""/>
                  <att name="BPELDocumentation" value=""/>
                  <att name="peopleActivityInputVariable" value="creditInformation"/>
                  <att name="peopleActivityOutputVariable" value="approval-task"/>
                  <att name="isSkipable" value="false"/>
                  <att name="extensionActivityFromParts" value="0"/>
                  <att name="extensionActivityToParts" value="0"/>
                  <att name="taskType">
                     <wsht:task xmlns:wsht="http://www.example.org/WS-HT" name="reviewTask">
                        <wsht:interface xmlns:ns="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl" xmlns:ns1="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl" operation="approve" portType="ns:LoanApproval"/>
                        <wsht:priority>3</wsht:priority>
                        <wsht:peopleAssignments>
                           <wsht:potentialOwners>
                              <wsht:from logicalPeopleGroup="loanreps"/>
                           </wsht:potentialOwners>
                           <wsht:excludedOwners>
                              <wsht:from/>
                           </wsht:excludedOwners>
                           <wsht:taskInitiator>
                              <wsht:from/>
                           </wsht:taskInitiator>
                           <wsht:taskStakeholders>
                              <wsht:from/>
                           </wsht:taskStakeholders>
                           <wsht:businessAdministrators>
                              <wsht:from logicalPeopleGroup="loanmgrs"/>
                           </wsht:businessAdministrators>
                           <wsht:recipients>
                              <wsht:from/>
                           </wsht:recipients>
                        </wsht:peopleAssignments>
                        <wsht:delegation/>
                        <wsht:presentationElements>
                           <wsht:name>Loan for review</wsht:name>
                           <wsht:presentationParameters>
                              <wsht:presentationParameter xmlns:ns="http://www.w3.org/2001/XMLSchema" name="loansummary" type="ns:string">concat( htd:getInput('Document')/loan:lastName , ", ", htd:getInput('Document')/loan:firstName , "; $" ,htd:getInput('Document')/loan:amountRequested )</wsht:presentationParameter>
                           </wsht:presentationParameters>
                           <wsht:subject>Please look at this loan and approve or decline it. (for {$loansummary})</wsht:subject>
                        </wsht:presentationElements>
                        <wsht:outcome/>
                        <wsht:searchBy/>
                        <wsht:renderings>
                           <wsht:rendering xmlns:ns="http://schemas.active-endpoints.com/b4p/wshumantask/2007/10/aeb4p-task-rt.xsd" type="ns:xsl">
                              <aeb4p:xsl xmlns:aeb4p="http://schemas.active-endpoints.com/b4p/wshumantask/2007/10/aeb4p-task-rt.xsd" xmlns:xsl="http://schemas.active-endpoints.com/b4p/wshumantask/2007/10/aeb4p-task-rt.xsd" xmlns:ns="http://schemas.active-endpoints.com/b4p/wshumantask/2007/10/aeb4p-task-rt.xsd" xmlns:wsht="http://www.example.org/WS-HT">
                                 <aeb4p:presentation-xsl>project:/B4P_Sample/xsl-renderings/loan_taskdetail.xsl</aeb4p:presentation-xsl>
                                 <aeb4p:command-xsl>project:/B4P_Sample/xsl-renderings/loan_param2commands.xsl</aeb4p:command-xsl>
                              </aeb4p:xsl>
                           </wsht:rendering>
                        </wsht:renderings>
                        <wsht:deadlines>
                           <wsht:startDeadline>
                              <wsht:for>'PT5M'</wsht:for>
                              <wsht:until/>
                              <wsht:escalation name="FiveMinuteReminder">
                                 <wsht:condition/>
                                 <wsht:toParts/>
                                 <wsht:notification name="ReminderToReps">
                                    <wsht:interface xmlns:ns="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl" xmlns:ns1="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl" xmlns:ns2="http://docs.active-endpoints.com/sample/wsdl/loanCustomerService/2008/02/loanCustomerService.wsdl" operation="remind" portType="ns1:LoanApprovalPeople"/>
                                    <wsht:priority>2</wsht:priority>
                                    <wsht:peopleAssignments>
                                       <wsht:potentialOwners>
                                          <wsht:from/>
                                       </wsht:potentialOwners>
                                       <wsht:excludedOwners>
                                          <wsht:from/>
                                       </wsht:excludedOwners>
                                       <wsht:taskInitiator>
                                          <wsht:from/>
                                       </wsht:taskInitiator>
                                       <wsht:taskStakeholders>
                                          <wsht:from/>
                                       </wsht:taskStakeholders>
                                       <wsht:businessAdministrators>
                                          <wsht:from logicalPeopleGroup="loanmgrs"/>
                                       </wsht:businessAdministrators>
                                       <wsht:recipients>
                                          <wsht:from logicalPeopleGroup="loanreps"/>
                                       </wsht:recipients>
                                    </wsht:peopleAssignments>
                                    <wsht:presentationElements>
                                       <wsht:name>Unclaimed Task Reminder</wsht:name>
                                       <wsht:presentationParameters>
                                          <wsht:presentationParameter xmlns:ns="http://www.w3.org/2001/XMLSchema" name="firstname" type="ns:string">htd:getInput('Document')/loan:firstName</wsht:presentationParameter>
                                          <wsht:presentationParameter xmlns:ns="http://www.w3.org/2001/XMLSchema" name="lastname" type="ns:string">htd:getInput('Document')/loan:lastName</wsht:presentationParameter>
                                          <wsht:presentationParameter xmlns:ns="http://www.w3.org/2001/XMLSchema" name="amount" type="ns:string">htd:getInput('Document')/loan:amountRequested</wsht:presentationParameter>
                                          <wsht:presentationParameter xmlns:ns="http://www.w3.org/2001/XMLSchema" name="priority" type="ns:string">htd:getTaskPriority()</wsht:presentationParameter>
                                       </wsht:presentationParameters>
                                       <wsht:subject>There is a loan task waiting to be claimed. ({$lastname}, {$firstname}; ${$amount} priority {$priority})</wsht:subject>
                                       <wsht:description>A loan review has been unclaimed for 5 minutes. Please go to your inbox and claim if appropriate.</wsht:description>
                                    </wsht:presentationElements>
                                    <wsht:renderings/>
                                 </wsht:notification>
                              </wsht:escalation>
                           </wsht:startDeadline>
                           <wsht:completionDeadline>
                              <wsht:for>'PT10M'</wsht:for>
                              <wsht:until/>
                              <wsht:escalation name="EscalateIfNotActedUpon">
                                 <wsht:condition/>
                                 <wsht:toParts/>
                                 <wsht:notification name="NotifyReassignToManager">
                                    <wsht:interface xmlns:ns="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApproval.wsdl" xmlns:ns1="http://docs.active-endpoints.com/sample/wsdl/loanApproval/2008/02/loanApprovalHuman.wsdl" operation="remind" portType="ns1:LoanApprovalPeople"/>
                                    <wsht:priority>1</wsht:priority>
                                    <wsht:peopleAssignments>
                                       <wsht:potentialOwners>
                                          <wsht:from/>
                                       </wsht:potentialOwners>
                                       <wsht:excludedOwners>
                                          <wsht:from/>
                                       </wsht:excludedOwners>
                                       <wsht:taskInitiator>
                                          <wsht:from/>
                                       </wsht:taskInitiator>
                                       <wsht:taskStakeholders>
                                          <wsht:from/>
                                       </wsht:taskStakeholders>
                                       <wsht:businessAdministrators>
                                          <wsht:from logicalPeopleGroup="loanmgrs"/>
                                       </wsht:businessAdministrators>
                                       <wsht:recipients>
                                          <wsht:from logicalPeopleGroup="loanreps"/>
                                       </wsht:recipients>
                                    </wsht:peopleAssignments>
                                    <wsht:presentationElements>
                                       <wsht:name>Escalated To Manager</wsht:name>
                                       <wsht:presentationParameters/>
                                       <wsht:subject>This loan is being reassigned to loanmgr1 for review</wsht:subject>
                                       <wsht:description>Needs to be completed within 5 minutes!</wsht:description>
                                    </wsht:presentationElements>
                                    <wsht:renderings/>
                                 </wsht:notification>
                              </wsht:escalation>
                              <wsht:escalation name="ReassignToMgr1">
                                 <wsht:condition/>
                                 <wsht:toParts/>
                                 <wsht:reassignment>
                                    <wsht:potentialOwners>
                                       <wsht:from>
                                          <wsht:literal>
                                             <ht:organizationalEntity xmlns:ht="http://www.example.org/WS-HT">
	<ht:users>
		<ht:user>loanmgr1</ht:user>
	</ht:users>
</ht:organizationalEntity>
                                          </wsht:literal>
                                       </wsht:from>
                                    </wsht:potentialOwners>
                                 </wsht:reassignment>
                              </wsht:escalation>
                           </wsht:completionDeadline>
                        </wsht:deadlines>
                     </wsht:task>
                  </att>
                  <att name="paPriorityOverride">
                     <aeds:expression xmlns:aeds="urn:active-endpoints:dataSpec">
                        <aeds:value>3</aeds:value>
                        <aeds:language/>
                     </aeds:expression>
                  </att>
                  <att name="scheduledActions">
                     <ns:scheduledActions xmlns:ns="http://www.example.org/BPEL4People">
                        <ns:expiration>
                           <ns:for>'PT15M'</ns:for>
                        </ns:expiration>
                     </ns:scheduledActions>
                  </att>
                  <att name="paSimulationOutputAttachments" value=""/>
                  <att name="paSimulationResult" value="0"/>
                  <att name="paSimulationOutput" value=""/>
                  <att name="paSimulationFaultName" value=""/>
                  <att name="taskInitiatorSim" value=""/>
                  <att name="actualOwnerSim" value=""/>
                  <att name="prioritySim" value="0"/>
                  <att name="paAttachmentPropagationFromProcess" value=""/>
                  <att name="paAttachmentPropagationToProcess" value=""/>
               </node>
               <node id="45" name="INVOKE">
                  <att name="objectId" value="120414018118705109"/>
                  <att name="location" value="LOC {0,320}"/>
                  <att name="size" value="DIM {262,56}"/>
                  <att name="name" value="NotifyCustomerServiceOfDecision"/>
                  <att name="text" value="Invoke notify"/>
                  <att name="partnerLink" value="LoanCRM"/>
                  <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl}LoanCRM"/>
                  <att name="operation" value="notify"/>
                  <att name="inputVariable" value="approval-task"/>
                  <att name="fromParts" value="0"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
         <node id="46" name="INVOKE">
            <att name="objectId" value="120258976092101654"/>
            <att name="location" value="LOC {741,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="47" name="ASSIGN">
               <att name="objectId" value="120258976092101658"/>
               <att name="location" value="LOC {741,409}"/>
               <att name="size" value="DIM {120,56}"/>
               <att name="name" value="Approve"/>
               <att name="suppressJoin" value="true"/>
               <att name="copy" value="1"/>
               <att name="validateVars" value="false"/>
               <node id="48" 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="120258976092101660"/>
                  <att name="toVariable" value="approval"/>
                  <att name="ignoreMissingFromData" value="false"/>
               </node>
            </graph>
         </att>
         <att>
            <graph id="49" name="ASSIGN">
               <att name="objectId" value="120258976092101661"/>
               <att name="location" value="LOC {1035,409}"/>
               <att name="size" value="DIM {101,56}"/>
               <att name="name" value="Deny"/>
               <att name="copy" value="1"/>
               <att name="validateVars" value="false"/>
               <node id="50" 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 that this application falls outside of our credit risk guidelines.&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="120259463420300307"/>
                  <att name="toVariable" value="approval"/>
                  <att name="ignoreMissingFromData" value="false"/>
               </node>
            </graph>
         </att>
         <node id="51" name="REPLY">
            <att name="objectId" value="120258976092101651"/>
            <att name="location" value="LOC {741,708}"/>
            <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>
      </graph>
   </att>
   <att>
      <graph id="52" name="SCOPE_FAULTHANDLER">
         <att>
            <graph id="53" name="CATCH">
               <att name="catchFaultName" value="riskws:loanProcessFault faultType=1"/>
               <att name="faultVariable" value="errorfault"/>
               <att name="faultVariableText" value="errorfault"/>
               <att name="catchFaultVariableDef" value="Element=loan:errorMessage"/>
               <att name="BPELComment" value=""/>
               <att name="objectId" value="120260155403104483"/>
               <att name="location" value="LOC {5,55}"/>
               <att name="size" value="DIM {200,109}"/>
               <node id="54" name="REPLY">
                  <att name="objectId" value="120260161667104715"/>
                  <att name="location" value="LOC {5,5}"/>
                  <att name="size" value="DIM {187,56}"/>
                  <att name="name" value="ReplyWithErrorFault"/>
                  <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="errorfault"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
         <att>
            <graph id="55" name="CATCH">
               <att name="catchFaultName" value="b4p:taskExpired faultType=1"/>
               <att name="catchFaultVariableDef" value="(none)"/>
               <att name="BPELComment" value=""/>
               <att name="objectId" value="120430352276506376"/>
               <att name="location" value="LOC {255,5}"/>
               <att name="size" value="DIM {240,210}"/>
               <att>
                  <graph id="56" name="ASSIGN">
                     <att name="objectId" value="120430477160912552"/>
                     <att name="location" value="LOC {5,5}"/>
                     <att name="size" value="DIM {222,56}"/>
                     <att name="name" value="CreateExpirationResponse"/>
                     <att name="copy" value="1"/>
                     <att name="validateVars" value="false"/>
                     <node id="57" 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 that your application could not be processed under our 15-minute guidelines. Please reapply in person at one of our offices.&lt;/loan:responseDescription&gt;&#13;&#10;   &lt;loan:rejectionReason&gt;&#13;&#10;      &lt;loan:reason&gt;infoRequired&lt;/loan:reason&gt;&#13;&#10;      &lt;loan:description&gt;Loan underwriting could not be completed in 15-minute window.&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="120430888017121056"/>
                        <att name="toVariable" value="approval-task"/>
                        <att name="ignoreMissingFromData" value="false"/>
                     </node>
                  </graph>
               </att>
               <node id="58" name="INVOKE">
                  <att name="objectId" value="120430594031217008"/>
                  <att name="location" value="LOC {5,111}"/>
                  <att name="size" value="DIM {200,56}"/>
                  <att name="name" value="NotifyCRMOfExpiration"/>
                  <att name="text" value="Invoke notify"/>
                  <att name="partnerLink" value="LoanCRM"/>
                  <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl}LoanCRM"/>
                  <att name="operation" value="notify"/>
                  <att name="inputVariable" value="approval-task"/>
                  <att name="fromParts" value="0"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
         <att>
            <graph id="59" name="CATCH">
               <att name="catchFaultName" value="approvews:loanProcessFault faultType=1"/>
               <att name="faultVariable" value="errorfault"/>
               <att name="faultVariableText" value="errorfault"/>
               <att name="catchFaultVariableDef" value="Element=loan:errorMessage"/>
               <att name="BPELComment" value=""/>
               <att name="objectId" value="120457962656201863"/>
               <att name="location" value="LOC {545,5}"/>
               <att name="size" value="DIM {260,210}"/>
               <att>
                  <graph id="60" name="ASSIGN">
                     <att name="objectId" value="120457963262502132"/>
                     <att name="location" value="LOC {5,5}"/>
                     <att name="size" value="DIM {245,56}"/>
                     <att name="name" value="CreateApprovalErrorResponse"/>
                     <att name="copy" value="2"/>
                     <att name="validateVars" value="false"/>
                     <node id="61" 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;An error occurred during loan underwriting.. Please reapply in person at one of our offices.&lt;/loan:responseDescription&gt;&#13;&#10;   &lt;loan:rejectionReason&gt;&#13;&#10;      &lt;loan:reason&gt;infoRequired&lt;/loan:reason&gt;&#13;&#10;      &lt;loan:description&gt;Human approval fault.&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="120458053220321403"/>
                        <att name="toVariable" value="approval-task"/>
                        <att name="ignoreMissingFromData" value="false"/>
                     </node>
                     <node id="62" name="ASSIGN_COPY">
                        <att name="fromVariable" value="errorfault"/>
                        <att name="fromQuery" value="concat( loan:errorCode , ' ', loan:reason )"/>
                        <att name="fromType" value="0"/>
                        <att name="objectId" value="120458055281221407"/>
                        <att name="toVariable" value="approval-task"/>
                        <att name="toQuery" value="loan:rejectionReason/loan:description"/>
                        <att name="ignoreMissingFromData" value="false"/>
                     </node>
                  </graph>
               </att>
               <node id="63" name="INVOKE">
                  <att name="objectId" value="120457964243702552"/>
                  <att name="location" value="LOC {5,111}"/>
                  <att name="size" value="DIM {223,56}"/>
                  <att name="name" value="NotifyCRMOfApprovalError"/>
                  <att name="text" value="Invoke notify"/>
                  <att name="partnerLink" value="LoanCRM"/>
                  <att name="portType" value="{http://docs.active-endpoints.com/sample/wsdl/loanCRM/2008/02/loanCRM.wsdl}LoanCRM"/>
                  <att name="operation" value="notify"/>
                  <att name="inputVariable" value="approval-task"/>
                  <att name="fromParts" value="0"/>
                  <att name="toParts" value="0"/>
               </node>
            </graph>
         </att>
      </graph>
   </att>
   <node id="64" name="SCOPE_EVENTHANDLER"/>
   <edge id="0" source="39" target="46">
      <att name="text" value="small loan"/>
      <att name="objectId" value="120258976092101649"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="2"/>
      <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"/>
      <att name="BP0" value="BP {331,31,-168,-75,0.5}"/>
   </edge>
   <edge id="1" source="39" target="40">
      <att name="text" value="large loan"/>
      <att name="objectId" value="120258976092101650"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="2"/>
      <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="41" target="43">
      <att name="objectId" value="120260695454629788"/>
      <att name="linkName" value="L4"/>
   </edge>
   <edge id="3" source="44" target="45">
      <att name="objectId" value="120414051801506155"/>
      <att name="linkName" value="L6"/>
   </edge>
   <edge id="4" source="46" target="47">
      <att name="text" value="low risk"/>
      <att name="objectId" value="120258976092101656"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="3"/>
      <att name="linkName" value="L2"/>
      <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="46" target="49">
      <att name="text" value="high risk"/>
      <att name="objectId" value="120258976092101657"/>
      <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="46" target="40">
      <att name="text" value="medium risk - review"/>
      <att name="objectId" value="120258976092101655"/>
      <att name="showLabel" value="true"/>
      <att name="routerOverride" value="3"/>
      <att name="linkName" value="L1"/>
      <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="7" source="47" target="51">
      <att name="objectId" value="120258976092101659"/>
      <att name="linkName" value="L3"/>
   </edge>
   <edge id="8" source="49" target="51">
      <att name="objectId" value="120258976092101662"/>
      <att name="linkName" value="L5"/>
   </edge>
   <edge id="9" source="56" target="58">
      <att name="objectId" value="120430600981217422"/>
      <att name="linkName" value="L7"/>
   </edge>
   <edge id="10" source="60" target="63">
      <att name="objectId" value="120457964676502787"/>
      <att name="linkName" value="L8"/>
   </edge>
</graph>
